mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-18 16:04:32 -04:00
!376 fix ets_loader_ark build.
Merge pull request !376 from lihong/master
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,
|
||||
@@ -124,6 +121,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