Добавил clean-webpack-plugin

This commit is contained in:
Book Pauk
2019-01-03 19:51:10 +07:00
parent 7dec7aadf6
commit 9752e2c3cf
4 changed files with 16 additions and 4 deletions

View File

@@ -3,11 +3,11 @@ const webpack = require("webpack");
const VueLoaderPlugin = require('vue-loader/lib/plugin');
module.exports = {
entry: [path.resolve(__dirname, "../client/main.js")],
entry: [path.resolve(__dirname, '../client/main.js')],
output: {
path: path.resolve(__dirname, "../server/public/app"),
publicPath: "/app/",
filename: "bundle.js"
path: path.resolve(__dirname, '../server/public/app'),
publicPath: '/app/',
filename: 'bundle.js'
},
module: {