diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-06-13 18:30:50 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-06-13 18:30:50 +0530 |
| commit | bce4cff7f7144bc91d780e2dd2f8e1114109f407 (patch) | |
| tree | bf528a65b9e4f3e99d780e71f7e7cff368dbc068 /config/webpack/plugins/create-manifest-webpack-plugin/index.js | |
| parent | 976ae51dabe77686e405a2b99127485209c7c9cd (diff) | |
| download | banglar-bhumi-utils-bce4cff7f7144bc91d780e2dd2f8e1114109f407.tar.gz banglar-bhumi-utils-bce4cff7f7144bc91d780e2dd2f8e1114109f407.zip | |
Added background scripts.
Diffstat (limited to 'config/webpack/plugins/create-manifest-webpack-plugin/index.js')
| -rw-r--r-- | config/webpack/plugins/create-manifest-webpack-plugin/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/index.js b/config/webpack/plugins/create-manifest-webpack-plugin/index.js index 8dc0ae4..330c22f 100644 --- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js +++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js @@ -97,6 +97,8 @@ class CreateManifestPlugin { ]; } + manifest.background = { service_worker: "background.js" }; + compilation.emitAsset( "manifest.json", new sources.RawSource( |
