From a9f2d88e1e5b1c7ddf524db8b5b185b8485f8d48 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Fri, 24 Mar 2023 09:24:15 +0530 Subject: Improved some functionality. --- config/webpack/plugins/create-manifest-webpack-plugin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/webpack/plugins/create-manifest-webpack-plugin') diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/index.js b/config/webpack/plugins/create-manifest-webpack-plugin/index.js index f571986..f0d9084 100644 --- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js +++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js @@ -18,7 +18,7 @@ class CreateManifestPlugin { const scripts = formatScripts(require(path.resolve(SOURCE_DIR, "scripts.json"))); const manifest = webpackRequire("plugins/create-manifest-webpack-plugin/manifest-template.json"); manifest.version = require(path.resolve(ROOT_DIR, "package.json")).version; - manifest.content_scripts = [] + manifest.content_scripts = []; for (const scriptPath in scripts) { for (const scriptType in scripts[scriptPath]) { -- cgit v1.2.3