Remove resource caching from service worker
This commit is contained in:
parent
4882d9c8cc
commit
f7f546f15f
4 changed files with 5 additions and 1514 deletions
|
@ -1,15 +1,7 @@
|
|||
const path = require('path');
|
||||
const common = require('./webpack.common');
|
||||
const { merge } = require('webpack-merge');
|
||||
const WorkboxPlugin = require('workbox-webpack-plugin');
|
||||
|
||||
module.exports = merge(common, {
|
||||
mode: 'production',
|
||||
entry: { 'main.jellyfin': './index.jsx' },
|
||||
plugins: [
|
||||
new WorkboxPlugin.InjectManifest({
|
||||
swSrc: path.resolve(__dirname, 'src/serviceworker.js'),
|
||||
swDest: 'serviceworker.js'
|
||||
})
|
||||
]
|
||||
entry: { 'main.jellyfin': './index.jsx' }
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue