1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add serviceworker webpack entry point

This commit is contained in:
Bill Thornton 2023-10-20 12:03:09 -04:00 committed by Niels van Velzen
parent f7f546f15f
commit c55d7b68eb
2 changed files with 7 additions and 2 deletions

View file

@ -110,7 +110,9 @@ const config = {
})
],
output: {
filename: '[name].bundle.js',
filename: pathData => (
pathData.chunk.name === 'serviceworker' ? '[name].js' : '[name].bundle.js'
),
chunkFilename: '[name].[contenthash].chunk.js',
path: path.resolve(__dirname, 'dist'),
publicPath: ''