mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(webpack) minimize service worker size
This commit is contained in:
parent
dc781447a8
commit
37d0d70482
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ const plugins = [
|
|||
new EnvironmentPlugin(['NODE_ENV']),
|
||||
new ServiceWorkerWebpackPlugin({
|
||||
entry: join(__dirname, '..', 'client', 'sw', 'sw.js'),
|
||||
excludes: ['*'],
|
||||
}),
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue