chore: update 3 file(s)

This commit is contained in:
mike
2025-12-29 00:00:55 +01:00
parent 11f0f8fbee
commit 9a649a9475
3 changed files with 33 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ export default (env, argv) => {
mode: isProduction ? 'production' : 'development',
entry: {
wwww: './www/chatv3.js'
www: ['./www/chatv3.js', './www/style2.css']
},
output: {
@@ -46,7 +46,7 @@ export default (env, argv) => {
new HtmlWebpackPlugin({
template: './www/index.html',
filename: 'index.html',
chunks : ['wwww'],
chunks : ['www'],
inject : 'body',
minify : isProduction
}),
@@ -84,8 +84,7 @@ export default (env, argv) => {
hot : true,
devMiddleware: { publicPath: '/' },
static : [
{ directory: path.resolve(__dirname, 'dist') },
{ directory: path.resolve(__dirname, 'www'), publicPath: '/' }
{ directory: path.resolve(__dirname, 'dist') }
]
}
}