Skip to content

Commit

Permalink
feat: drop support for appcache to be able to migrate to PROCESS_ASSE…
Browse files Browse the repository at this point in the history
…TS_STAGE_ADDITIONAL

BREAKING CHANGE: Drop support for appcache-webpack-plugin
  • Loading branch information
jantimon committed Jan 20, 2021
1 parent b6895cb commit 50b3bec
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 132 deletions.
Binary file not shown.
47 changes: 0 additions & 47 deletions examples/appcache/dist/webpack-5/bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/appcache/dist/webpack-5/index.html

This file was deleted.

9 changes: 0 additions & 9 deletions examples/appcache/dist/webpack-5/manifest.appcache

This file was deleted.

3 changes: 0 additions & 3 deletions examples/appcache/dist/webpack-5/styles.css

This file was deleted.

4 changes: 0 additions & 4 deletions examples/appcache/example.js

This file was deleted.

Binary file removed examples/appcache/logo.png
Binary file not shown.
3 changes: 0 additions & 3 deletions examples/appcache/main.css

This file was deleted.

11 changes: 0 additions & 11 deletions examples/appcache/template.html

This file was deleted.

34 changes: 0 additions & 34 deletions examples/appcache/webpack.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions spec/basic.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1909,22 +1909,6 @@ describe('HtmlWebpackPlugin', () => {
}, ['Error: HtmlWebpackPlugin: could not load file'], null, done, true);
});

it('adds a manifest', done => {
const AppCachePlugin = require('appcache-webpack-plugin');
testHtmlPlugin({
mode: 'production',
entry: path.join(__dirname, 'fixtures/index.js'),
output: {
path: OUTPUT_DIR,
filename: 'index_bundle.js'
},
plugins: [
new AppCachePlugin({ settings: ['prefer-online'] }),
new HtmlWebpackPlugin()
]
}, ['<html manifest="manifest.appcache">'], null, done);
});

it('does not add a manifest if already present', done => {
const AppCachePlugin = require('appcache-webpack-plugin');
testHtmlPlugin({
Expand Down
4 changes: 0 additions & 4 deletions spec/example.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ function runExample (exampleName, done) {
}

describe('HtmlWebpackPlugin Examples', () => {
it('appcache example', done => {
runExample('appcache', done);
});

it('custom-template example', done => {
runExample('custom-template', done);
});
Expand Down

0 comments on commit 50b3bec

Please sign in to comment.