mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-18 16:04:32 -04:00
fix ets_loader_ark bug. Signed-off-by: lihong <lihong67@huawei.com> Change-Id: Ibc2e986877557ec4d1f98127c5fdeffbb46f7cd7
This commit is contained in:
@@ -40,9 +40,6 @@ function initConfig(config) {
|
||||
const projectPath = path.resolve(projectConfig.projectPath);
|
||||
Object.assign(config, {
|
||||
entry: projectConfig.entryObj,
|
||||
cache: {
|
||||
type: "filesystem"
|
||||
},
|
||||
watch: watchMode,
|
||||
watchOptions: {
|
||||
aggregateTimeout: 10,
|
||||
@@ -118,6 +115,11 @@ function initConfig(config) {
|
||||
new ResultStates()
|
||||
]
|
||||
});
|
||||
if (!/ets_loader_ark$/.test(__dirname)) {
|
||||
config.cache = {
|
||||
type: "filesystem"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
function setProjectConfig(envArgs) {
|
||||
|
||||
Reference in New Issue
Block a user