fix: webpack build error
This commit is contained in:
parent
128717d068
commit
eb77059ec6
@ -4,7 +4,7 @@ const fs = require('fs-extra')
|
|||||||
const yargs = require('yargs').argv
|
const yargs = require('yargs').argv
|
||||||
const _ = require('lodash')
|
const _ = require('lodash')
|
||||||
|
|
||||||
const CleanWebpackPlugin = require('clean-webpack-plugin')
|
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||||
const HtmlWebpackPugPlugin = require('html-webpack-pug-plugin')
|
const HtmlWebpackPugPlugin = require('html-webpack-pug-plugin')
|
||||||
@ -204,7 +204,7 @@ module.exports = {
|
|||||||
filename: '../server/views/master.pug',
|
filename: '../server/views/master.pug',
|
||||||
hash: false,
|
hash: false,
|
||||||
inject: false,
|
inject: false,
|
||||||
excludeChunks : ['setup']
|
excludeChunks: ['setup']
|
||||||
}),
|
}),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: 'dev/templates/setup.pug',
|
template: 'dev/templates/setup.pug',
|
||||||
|
Loading…
Reference in New Issue
Block a user