aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/loaders
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2023-02-08 13:54:04 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2023-02-08 13:54:04 +0530
commit4993aaf41e132dd0805bf6c487901d9f2aecfcfe (patch)
treea51ebf7bff551e9188d68f777d100e8ffb70922d /config/webpack/loaders
parent8234acb45cd99fc7bcd99df7f71cac02845bb534 (diff)
downloadbanglar-bhumi-utils-4993aaf41e132dd0805bf6c487901d9f2aecfcfe.tar.gz
banglar-bhumi-utils-4993aaf41e132dd0805bf6c487901d9f2aecfcfe.zip
Combining similar scripts into 1 for improved performence and less files in build.
Diffstat (limited to 'config/webpack/loaders')
-rw-r--r--config/webpack/loaders/scoped-loader.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack/loaders/scoped-loader.js b/config/webpack/loaders/scoped-loader.js
new file mode 100644
index 0000000..701afc2
--- /dev/null
+++ b/config/webpack/loaders/scoped-loader.js
@@ -0,0 +1,3 @@
+module.exports = source => `(() => {
+${source}
+})();`;