[mobile] fix build script

This commit is contained in:
Maxim Kadushkin 2021-05-06 14:14:51 +03:00
parent 295bc949c9
commit 9a1c2a0b91

View file

@ -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,