Skip to content

Commit

Permalink
Upgrade npm deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurk91 committed Jul 11, 2019
1 parent a13f5f3 commit 808e9f0
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 105 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"bootstrap": "^4.2.1",
"clean-webpack-plugin": "^1.0.1",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^5.2.0",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"css-loader": "^3.0.0",
"file-loader": "^4.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.1.0",
"mini-css-extract-plugin": "^0.5.0",
"mini-css-extract-plugin": "^0.7.0",
"style-loader": "^0.23.1",
"unminified-webpack-plugin": "^2.0.0",
"vee-validate": "^2.1.7",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const {VueLoaderPlugin} = require('vue-loader');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const CleanWebpackPlugin = require("clean-webpack-plugin");
const {CleanWebpackPlugin} = require("clean-webpack-plugin");
const TerserPlugin = require('terser-webpack-plugin');

const isProduction = process.env.NODE_ENV === 'production';
Expand Down Expand Up @@ -135,7 +135,7 @@ module.exports = {

if (isProduction) {
module.exports.plugins.push(
new CleanWebpackPlugin(['docs']),
new CleanWebpackPlugin(),
new MiniCssExtractPlugin({
filename: 'css/[name]-[hash].css',
}),
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const webpack = require('webpack');
const path = require('path');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const {CleanWebpackPlugin} = require('clean-webpack-plugin');
const UnminifiedWebpackPlugin = require('unminified-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const {VueLoaderPlugin} = require('vue-loader');
Expand Down Expand Up @@ -70,7 +70,7 @@ module.exports = {
]
},
plugins: [
new CleanWebpackPlugin(['./dist']),
new CleanWebpackPlugin(),
new UnminifiedWebpackPlugin(),
new VueLoaderPlugin(),
],
Expand Down
Loading

0 comments on commit 808e9f0

Please sign in to comment.