Skip to content

Commit

Permalink
Merge pull request #5 from leviy/fix/remove-clean-plugin
Browse files Browse the repository at this point in the history
Removed CleanWebpackPlugin from default configuration
  • Loading branch information
denniscoorn authored Oct 10, 2018
2 parents 421aae5 + 4025d01 commit eb26b91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "@leviy/webpack-config-default",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:leviy/webpack-config-default.git"
},
"homepage": "https://github.com/leviy/webpack-config-default/",
"dependencies": {
"babel-loader": "^7.1",
"clean-webpack-plugin": "^0.1",
"css-loader": "^0.28",
"file-loader": "^1.1",
"mini-css-extract-plugin": "^0.4",
Expand Down
4 changes: 0 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { Config, environment } = require('webpack-config');

const webpack = require('webpack');

const CleanWebpackPlugin = require('clean-webpack-plugin');
const ManifestPlugin = require('webpack-manifest-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const autoprefix = require('autoprefixer');
Expand Down Expand Up @@ -75,9 +74,6 @@ module.exports = new Config().defaults({
$: 'jquery',
jQuery: 'jquery',
}),
new CleanWebpackPlugin(['public/dist'], {
exclude: ['resources'],
}),
new MiniCssExtractPlugin({
filename: development ? '[name].css' : '[name].[hash].css',
}),
Expand Down

0 comments on commit eb26b91

Please sign in to comment.