From 116d7e3715a6ff5c225370bcabe903bdb6714fcc Mon Sep 17 00:00:00 2001 From: yangbo <1442420648@qq.com> Date: Wed, 19 Jan 2022 09:23:03 +0800 Subject: [PATCH] fixed 5f76fc6 from https://gitee.com/txdyyangbo/developtools_ace-ets2bundle/pulls/184 yangbo198@huawei.com Signed-off-by: yangbo <1442420648@qq.com> Change-Id: I430100c07adfa7ef0609839ad12dfb99b8867b9d --- compiler/webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/webpack.config.js b/compiler/webpack.config.js index 4050b6c0f..1220f044b 100644 --- a/compiler/webpack.config.js +++ b/compiler/webpack.config.js @@ -152,6 +152,12 @@ function setProjectConfig(envArgs) { if (envArgs.aceManifestPath) { projectConfig.manifestFilePath = envArgs.aceManifestPath; } + if (envArgs.aceProfilePath || process.env.aceProfilePath) { + projectConfig.aceProfilePath = envArgs.aceProfilePath || process.env.aceProfilePath; + } + if (envArgs.aceModuleJsonPath || process.env.aceModuleJsonPath) { + projectConfig.aceModuleJsonPath = envArgs.aceModuleJsonPath || process.env.aceModuleJsonPath; + } } function setReleaseConfig(config) { -- Gitee