diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-22 11:54:35 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-22 11:54:35 +0530 |
| commit | b7b840319aaf37cd48461e7a578cc859454a29e3 (patch) | |
| tree | 0d5d5d1069c2bb8d9b3b4dd41d2a805e8d07b657 /config | |
| parent | 7a6707374f231d9cb07476c9453727ee5c6c9a45 (diff) | |
| download | banglar-bhumi-utils-b7b840319aaf37cd48461e7a578cc859454a29e3.tar.gz banglar-bhumi-utils-b7b840319aaf37cd48461e7a578cc859454a29e3.zip | |
Added script for application receipt page.
Diffstat (limited to 'config')
| -rw-r--r-- | config/webpack/plugins/create-manifest-webpack-plugin/index.js | 5 |
1 files changed, 4 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 a1a21a8..8705039 100644 --- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js +++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js @@ -22,8 +22,11 @@ class CreateManifestPlugin { for (const scriptPath in scripts) { for (const scriptType in scripts[scriptPath]) { + const matches = [`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}`]; + if (scriptPath !== "*") + matches.push(`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}.action`); manifest.content_scripts.push({ - matches: [`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}`], + matches, js: [`scripts/${getFileNameHash(scriptPath)}/${scriptType}.js`], run_at: getScriptRuntimeFromType(scriptType) }); |
