diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-03-12 18:39:36 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-03-12 18:39:36 +0530 |
| commit | 7ea487be4aaf8f3b3047e2a7b3c1da80744f258b (patch) | |
| tree | a4f91d979fe838aefe2ab8c4cecd9037b879e0aa /config/webpack/plugins/create-manifest-webpack-plugin/index.js | |
| parent | 95becf369822cbb74f4cefb5658f3ff97e164d6e (diff) | |
| download | banglar-bhumi-utils-7ea487be4aaf8f3b3047e2a7b3c1da80744f258b.tar.gz banglar-bhumi-utils-7ea487be4aaf8f3b3047e2a7b3c1da80744f258b.zip | |
Passing url of extension assets to the injected javascript code using data arguments on the script tag.
Diffstat (limited to 'config/webpack/plugins/create-manifest-webpack-plugin/index.js')
| -rw-r--r-- | config/webpack/plugins/create-manifest-webpack-plugin/index.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/index.js b/config/webpack/plugins/create-manifest-webpack-plugin/index.js index da62bea..b14cd13 100644 --- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js +++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js @@ -98,7 +98,15 @@ class CreateManifestPlugin { compilation.emitAsset( "manifest.json", - new sources.RawSource(JSON.stringify(manifest, undefined, process.env.NODE_ENV === "production" ? undefined : "\t")) + new sources.RawSource( + JSON.stringify( + manifest, + undefined, + process.env.NODE_ENV === "production" + ? undefined + : "\t" + ) + ) ); } ); |
