chore(deps): update dependency clean-webpack-plugin to v2 (https://github.com/woocommerce/woocommerce-blocks/pull/466)

* chore(deps): update dependency clean-webpack-plugin to v2

* Update options for v2.0
This commit is contained in:
renovate[bot] 2019-03-04 12:48:27 -05:00 committed by Kelly Dwan
parent 039bb10b89
commit 8f998a4859
3 changed files with 49 additions and 6 deletions

View File

@ -4883,12 +4883,55 @@
"integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="
},
"clean-webpack-plugin": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-1.0.1.tgz",
"integrity": "sha512-gvwfMsqu3HBgTVvaBa1H3AZKO03CHpr5uP92SPIktP3827EovAitwW+1xoqXyTxCuXnLYpMHG5ytS4AoukHDWA==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-2.0.0.tgz",
"integrity": "sha512-xH9RUgXaeeW2VmtygwcGNFAmYzRrv93uHk+c5gYA4qHmX1gpRfjScsvvCT7PcUb0Z5Y30H/pswTM1qYApVLBXA==",
"dev": true,
"requires": {
"rimraf": "^2.6.1"
"del": "^4.0.0"
},
"dependencies": {
"del": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/del/-/del-4.0.0.tgz",
"integrity": "sha512-/BnSJ+SuZyLu7xMn48kZY0nMXDi+5KNmR4g8n21Wivsl8+B9njV6/5kcTNE9juSprp0zRWBU28JuHUq0FqK1Nw==",
"dev": true,
"requires": {
"globby": "^6.1.0",
"is-path-cwd": "^2.0.0",
"is-path-in-cwd": "^2.0.0",
"p-map": "^2.0.0",
"pify": "^4.0.1",
"rimraf": "^2.6.2"
}
},
"is-path-cwd": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.0.0.tgz",
"integrity": "sha512-m5dHHzpOXEiv18JEORttBO64UgTEypx99vCxQLjbBvGhOJxnTNglYoFXxwo6AbsQb79sqqycQEHv2hWkHZAijA==",
"dev": true
},
"is-path-in-cwd": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.0.0.tgz",
"integrity": "sha512-6Vz5Gc9s/sDA3JBVu0FzWufm8xaBsqy1zn8Q6gmvGP6nSDMw78aS4poBNeatWjaRpTpxxLn1WOndAiOlk+qY8A==",
"dev": true,
"requires": {
"is-path-inside": "^1.0.0"
}
},
"p-map": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/p-map/-/p-map-2.0.0.tgz",
"integrity": "sha512-GO107XdrSUmtHxVoi60qc9tUl/KkNKm+X2CF4P9amalpGxv5YqVPJNfSb0wcA+syCopkZvYYIzW8OVTQW59x/w==",
"dev": true
},
"pify": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
"dev": true
}
}
},
"cli-cursor": {

View File

@ -44,7 +44,7 @@
"babel-eslint": "10.0.1",
"babel-loader": "8.0.5",
"classnames": "2.2.6",
"clean-webpack-plugin": "1.0.1",
"clean-webpack-plugin": "2.0.0",
"core-js": "2.6.5",
"cross-env": "5.2.0",
"css-loader": "2.1.0",

View File

@ -114,7 +114,7 @@ const GutenbergBlocksConfig = {
],
},
plugins: [
new CleanWebpackPlugin( 'build', {} ),
new CleanWebpackPlugin(),
new MiniCssExtractPlugin( {
filename: '[name].css',
} ),