aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/plugins/create-manifest-webpack-plugin/index.js
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2023-03-24 11:36:54 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2023-03-24 11:36:54 +0530
commitfeac7acb91a78b117241abdd0a5d80f778e15f06 (patch)
treeebee27b43105aeed1048e86afb1e6e3d2b7e1075 /config/webpack/plugins/create-manifest-webpack-plugin/index.js
parenta9f2d88e1e5b1c7ddf524db8b5b185b8485f8d48 (diff)
downloadbanglar-bhumi-utils-feac7acb91a78b117241abdd0a5d80f778e15f06.tar.gz
banglar-bhumi-utils-feac7acb91a78b117241abdd0a5d80f778e15f06.zip
Overriding the javascript on the page instead of locally replacing it.
Diffstat (limited to 'config/webpack/plugins/create-manifest-webpack-plugin/index.js')
-rw-r--r--config/webpack/plugins/create-manifest-webpack-plugin/index.js2
1 files changed, 1 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 f0d9084..6984955 100644
--- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js
+++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js
@@ -29,7 +29,7 @@ class CreateManifestPlugin {
manifest.content_scripts.push({
matches,
- js: [`scripts/${getFileNameHash(scriptPath)}/${scriptType}.js`],
+ js: [`scripts/${getFileNameHash(scriptPath)}-${scriptType}.js`],
run_at: getScriptRuntimeFromType(scriptType)
});
}