Update Node dependencies to latest versions, including fixes.
CleanWebpackPlugin had some minor usage changes.
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
const webpack = require("webpack");
|
||||
const path = require("path");
|
||||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||
const CleanWebpackPlugin = require("clean-webpack-plugin");
|
||||
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
|
||||
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
@@ -26,7 +26,7 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(["dist"], {
|
||||
new CleanWebpackPlugin({
|
||||
root: path.resolve(__dirname, "../")
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
|
||||
Reference in New Issue
Block a user