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; color: #ffffff;
} }
</style> </style>
<app-shadow></app-shadow> <div id="app"></div>
</body> </body>
</html> </html>

View File

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

View File

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