[mobile] fix build script
This commit is contained in:
parent
295bc949c9
commit
9a1c2a0b91
|
@ -189,8 +189,7 @@ module.exports = {
|
||||||
// new CleanWebpackPlugin(),
|
// new CleanWebpackPlugin(),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
filename: `../../../apps/${editor}/mobile/index.html`,
|
filename: `../../../apps/${editor}/mobile/index.html`,
|
||||||
template: env == 'development' ? `../../apps/${editor}/mobile/src/index_dev.html` :
|
template: `../../apps/${editor}/mobile/src/index_dev.html`,
|
||||||
`../../apps/${editor}/mobile/src/index.html.deploy`,
|
|
||||||
inject: true,
|
inject: true,
|
||||||
minify: env === 'production' ? {
|
minify: env === 'production' ? {
|
||||||
collapseWhitespace: true,
|
collapseWhitespace: true,
|
||||||
|
|
Loading…
Reference in a new issue