aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/plugins')
-rw-r--r--config/webpack/plugins/create-manifest-webpack-plugin/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/index.js b/config/webpack/plugins/create-manifest-webpack-plugin/index.js
index 7044be2..2e121da 100644
--- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js
+++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js
@@ -4,8 +4,8 @@ const path = require("path");
const scripts = require(path.resolve(process.env.SOURCE_DIR, "scripts.json"));
const { version } = require(path.resolve(process.env.ROOT_DIR, "package.json"));
-const { getScriptRuntimeFromType } = require(path.resolve(process.env.CONFIG_DIR, "webpack/utils/script-runtime"));
-const { getFileNameHash } = require(path.resolve(process.env.CONFIG_DIR, "webpack/utils/file-name-hash"));
+const { getScriptRuntimeFromType } = webpackRequire("utils/script-runtime");
+const { getFileNameHash } = webpackRequire("utils/file-name-hash");
class CreateManifestPlugin {
constructor() {