fixed element names

This commit is contained in:
Fran Jurmanović
2021-06-13 21:29:52 +02:00
parent fabfb43c02
commit fe1d84ad5c
3 changed files with 14 additions and 4 deletions

View File

@@ -16,6 +16,6 @@
color: #ffffff;
}
</style>
<app-shadow></app-shadow>
<div id="app"></div>
</body>
</html>

View File

@@ -1,3 +1,7 @@
import 'layouts';
import 'components';
import 'pages';
const app = document.getElementById('app');
const _appShadow = document.createElement('app-shadow');
app.appendChild(_appShadow);

View File

@@ -54,9 +54,15 @@ module.exports = (env, args) => {
maxSize: 400000
},
}
},
minimize: true,
minimizer: [new TerserPlugin(), new UglifyJsPlugin()],
},
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
keep_classnames: true,
keep_fnames: true,
}
})
]
},
output: {
path: path.join(__dirname, 'public'),