Split node_modules to separate bundles
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user