Skip to content

Commit c8428c2

Browse files
committed
deps upd
1 parent ddd48f1 commit c8428c2

File tree

3 files changed

+219
-183
lines changed

3 files changed

+219
-183
lines changed

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"core-js": "3",
4343
"service-worker-loader": "*",
4444
"webpack-sources": "^1.3.0",
45-
"workbox-build": "^3.6.3",
46-
"workbox-webpack-plugin": "^3.6.3"
45+
"workbox-build": "^4.3.1",
46+
"workbox-webpack-plugin": "^4.3.1"
4747
},
4848
"devDependencies": {
4949
"@trigen/scripts": "2",
@@ -53,15 +53,14 @@
5353
"@trigen/scripts-plugin-rollup": "2",
5454
"@trigen/scripts-plugin-size-limit": "2",
5555
"@trigen/scripts-preset-lib": "2",
56-
"clean-webpack-plugin": "^1.0.1",
56+
"clean-webpack-plugin": "^3.0.0",
5757
"eslint-plugin-jest": "^22.1.2",
5858
"html-webpack-plugin": "^3.2.0",
5959
"memory-fs": "^0.4.1",
60-
"rollup-plugin-eslint": "^5.0.0",
61-
"rollup-plugin-json": "^3.1.0",
60+
"rollup-plugin-eslint": "^6.0.0",
61+
"rollup-plugin-json": "^4.0.0",
6262
"service-worker-loader": "^3.0.0",
63-
"webpack": "^4.28.3",
64-
"workbox-sw": "^3.6.3"
63+
"webpack": "^4.28.3"
6564
},
6665
"files": [
6766
"lib"

test/compile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import path from 'path';
22
import webpack from 'webpack';
33
import MemoryFs from 'memory-fs';
4-
import CleanPlugin from 'clean-webpack-plugin';
4+
import {
5+
CleanWebpackPlugin
6+
} from 'clean-webpack-plugin';
57
import HtmlPlugin from 'html-webpack-plugin';
68
import WorkboxPlugin from '../src/index';
79

@@ -33,7 +35,7 @@ export default function compile(fixtureEntry, options = {}, writeToFs = false) {
3335
}]
3436
},
3537
plugins: [
36-
!IS_TEST && new CleanPlugin(path.join(pathToArtifacts, '**', '*')),
38+
!IS_TEST && new CleanWebpackPlugin(path.join(pathToArtifacts, '**', '*')),
3739
new HtmlPlugin({
3840
template: 'index.html'
3941
}),

0 commit comments

Comments
 (0)