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

@ -3,5 +3,8 @@ const { merge } = require('webpack-merge');
module.exports = merge(common, {
mode: 'production',
entry: { 'main.jellyfin': './index.jsx' }
entry: {
'main.jellyfin': './index.jsx',
'serviceworker': './serviceworker.js'
}
});