Skip to content

Commit a79ab17

Browse files
committed
chore: drop support for appcache-webpack-plugin as it is not compatible to webpack 5
1 parent 7c3146d commit a79ab17

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"devDependencies": {
3131
"@types/loader-utils": "2.0.1",
3232
"@types/node": "11.13.9",
33-
"appcache-webpack-plugin": "1.4.0",
3433
"commitizen": "4.2.1",
3534
"css-loader": "2.1.1",
3635
"cz-conventional-changelog": "2.1.0",

spec/basic.spec.js

-18
Original file line numberDiff line numberDiff line change
@@ -2067,24 +2067,6 @@ describe('HtmlWebpackPlugin', () => {
20672067
}, ['Error: HtmlWebpackPlugin: could not load file'], null, done, true);
20682068
});
20692069

2070-
it('does not add a manifest if already present', done => {
2071-
const AppCachePlugin = require('appcache-webpack-plugin');
2072-
testHtmlPlugin({
2073-
mode: 'production',
2074-
entry: path.join(__dirname, 'fixtures/index.js'),
2075-
output: {
2076-
path: OUTPUT_DIR,
2077-
filename: 'index_bundle.js'
2078-
},
2079-
plugins: [
2080-
new AppCachePlugin({ settings: ['prefer-online'] }),
2081-
new HtmlWebpackPlugin({
2082-
template: path.join(__dirname, 'fixtures/plain.html')
2083-
})
2084-
]
2085-
}, ['<html lang="en" manifest="foo.appcache">'], null, done);
2086-
});
2087-
20882070
it('works with webpack bannerplugin', done => {
20892071
testHtmlPlugin({
20902072
mode: 'production',

0 commit comments

Comments
 (0)