Skip to content

Commit

Permalink
chore(deps): upgrade webpack and friends
Browse files Browse the repository at this point in the history
  • Loading branch information
iamandrewluca committed Jun 25, 2020
1 parent d3cd4ea commit f9d7d42
Show file tree
Hide file tree
Showing 4 changed files with 1,154 additions and 314 deletions.
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
10.21.0
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -276,10 +276,10 @@
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.4",
"bootstrap": "^4.4.1",
"clean-webpack-plugin": "^1.0.0",
"clean-webpack-plugin": "^3.0.0",
"conventional-changelog-cli": "^2.0.21",
"conventional-recommended-bump": "^0.3.0",
"copy-webpack-plugin": "^4.6.0",
"copy-webpack-plugin": "^6.0.2",
"coveralls": "^2.11.12",
"cross-env": "^2.0.0",
"css-loader": "^2.1.0",
Expand Down Expand Up @@ -315,8 +315,8 @@
"rollup-plugin-replace": "^2.1.0",
"static-site-generator-webpack-plugin": "^3.4.2",
"style-loader": "^0.23.1",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.14"
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}
8 changes: 5 additions & 3 deletions webpack.docs.config.js
Expand Up @@ -2,7 +2,7 @@
const path = require('path');
const webpack = require('webpack');
const StaticSiteGeneratorPlugin = require('static-site-generator-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

Expand Down Expand Up @@ -68,8 +68,10 @@ const config = {
// globalObject: '(typeof self !== \'undefined\' ? self : this)'
},
plugins: [
new CleanWebpackPlugin(['build']),
new CopyWebpackPlugin([{ from: './docs/static', to: 'assets' }]),
new CleanWebpackPlugin(),
new CopyWebpackPlugin({
patterns: [{ from: './docs/static', to: 'assets' }]
}),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(env)
}),
Expand Down

0 comments on commit f9d7d42

Please sign in to comment.