!376 fix ets_loader_ark build.

Merge pull request !376 from lihong/master
This commit is contained in:
openharmony_ci
2022-03-15 03:03:53 +00:00
committed by Gitee
+5 -3
View File
@@ -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,
@@ -124,6 +121,11 @@ function initConfig(config) {
new ResultStates()
]
});
if (!/ets_loader_ark$/.test(__dirname)) {
config.cache = {
type: "filesystem"
};
}
}
function setProjectConfig(envArgs) {