From 5203db5d725c8c46f64c12bbacf67ea2f7ce799e Mon Sep 17 00:00:00 2001 From: mmerki Date: Mon, 17 Oct 2022 06:52:37 +0200 Subject: [PATCH] feat: add BUILD_ENTRY_POINT environment variable (#37) --- config/paths.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/paths.js b/config/paths.js index 77dbba5..e6ceed8 100644 --- a/config/paths.js +++ b/config/paths.js @@ -28,7 +28,7 @@ const resolveOwn = (relativePath) => module.exports = { projBuild: resolveProj("build"), - projEntry: resolveModule(resolveProj, "src/index"), + projEntry: resolveModule(resolveProj, process.env.BUILD_ENTRY_POINT || "src/index"), projPublicDir: resolveProj(process.env.PUBLIC_DIR || "app"), projRoot: resolveProj("."), projSrc: resolveProj("src"),