mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Split node_modules to separate bundles
This commit is contained in:
parent
413c6f537a
commit
e4a2d7513b
3 changed files with 21 additions and 3 deletions
|
@ -5,7 +5,7 @@ const WorkboxPlugin = require('workbox-webpack-plugin');
|
|||
|
||||
module.exports = merge(common, {
|
||||
mode: 'production',
|
||||
entry: './scripts/site.js',
|
||||
entry: { 'main.jellyfin': './scripts/site.js' },
|
||||
plugins: [
|
||||
new WorkboxPlugin.InjectManifest({
|
||||
swSrc: path.resolve(__dirname, 'src/serviceworker.js'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue