fix webpack config

This commit is contained in:
Asnxthaony 2022-03-26 02:07:55 +08:00
parent 5596c636b7
commit c2a6ba9570
No known key found for this signature in database
GPG Key ID: B7D610EF03EA50F9

View File

@ -77,6 +77,7 @@ export default function (env?: Env): webpack.Configuration[] {
chunkFilename: isDev ? '[id].css' : '[id].[contenthash:7].css',
}),
new HtmlWebpackPlugin({
templateContent: '',
chunks: ['app'],
scriptLoading: 'blocking',
filename: 'app.twig',