Skip to content

Commit 2de1468

Browse files
pirropirroStefania
authored and
Stefania
committed
Feature/remove clean plugin dependency (#239)
* Delete useless lines * Remove clean-webpack-plugin useless dependency
1 parent 8f6f0c4 commit 2de1468

File tree

3 files changed

+0
-87
lines changed

3 files changed

+0
-87
lines changed

package-lock.json

Lines changed: 0 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"babel-preset-env": "^1.7.0",
3030
"babel-preset-es2015": "^6.24.1",
3131
"babel-preset-react": "^6.24.1",
32-
"clean-webpack-plugin": "^2.0.1",
3332
"cross-env": "^6.0.3",
3433
"eslint": "^5.16.0",
3534
"eslint-config-airbnb-base": "^14.0.0",

webpack.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path');
22
const HtmlWebpackPlugin = require('html-webpack-plugin');
3-
// const CleanWebpackPlugin = require('clean-webpack-plugin');
43

54
const src = path.join(__dirname, 'demo');
65
const dist = path.join(__dirname, '.tmp');
@@ -16,7 +15,6 @@ module.exports = {
1615
allowedHosts: ['local.arduino.cc']
1716
},
1817
plugins: [
19-
// new CleanWebpackPlugin([dist]),
2018
new HtmlWebpackPlugin({
2119
template: path.join(src, 'index.html')
2220
})

0 commit comments

Comments
 (0)