Skip to content

Commit 50b3bec

Browse files
committed
feat: drop support for appcache to be able to migrate to PROCESS_ASSETS_STAGE_ADDITIONAL
BREAKING CHANGE: Drop support for appcache-webpack-plugin
1 parent b6895cb commit 50b3bec

12 files changed

+0
-132
lines changed
Binary file not shown.

examples/appcache/dist/webpack-5/bundle.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

examples/appcache/dist/webpack-5/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/appcache/dist/webpack-5/manifest.appcache

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/appcache/dist/webpack-5/styles.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/appcache/example.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/appcache/logo.png

-52.8 KB
Binary file not shown.

examples/appcache/main.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/appcache/template.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/appcache/webpack.config.js

Lines changed: 0 additions & 34 deletions
This file was deleted.

spec/basic.spec.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,22 +1909,6 @@ describe('HtmlWebpackPlugin', () => {
19091909
}, ['Error: HtmlWebpackPlugin: could not load file'], null, done, true);
19101910
});
19111911

1912-
it('adds a manifest', done => {
1913-
const AppCachePlugin = require('appcache-webpack-plugin');
1914-
testHtmlPlugin({
1915-
mode: 'production',
1916-
entry: path.join(__dirname, 'fixtures/index.js'),
1917-
output: {
1918-
path: OUTPUT_DIR,
1919-
filename: 'index_bundle.js'
1920-
},
1921-
plugins: [
1922-
new AppCachePlugin({ settings: ['prefer-online'] }),
1923-
new HtmlWebpackPlugin()
1924-
]
1925-
}, ['<html manifest="manifest.appcache">'], null, done);
1926-
});
1927-
19281912
it('does not add a manifest if already present', done => {
19291913
const AppCachePlugin = require('appcache-webpack-plugin');
19301914
testHtmlPlugin({

spec/example.spec.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ function runExample (exampleName, done) {
6060
}
6161

6262
describe('HtmlWebpackPlugin Examples', () => {
63-
it('appcache example', done => {
64-
runExample('appcache', done);
65-
});
66-
6763
it('custom-template example', done => {
6864
runExample('custom-template', done);
6965
});

0 commit comments

Comments
 (0)