mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 12:05:24 -04:00
fixed ee0364e from https://gitee.com/houhaoyu/developtools_ace-ets2bundle/pulls/531
houhaoyu@huawei.com load all components in sv mode Signed-off-by: houhaoyu <houhaoyu@huawei.com> Change-Id: Icc13a54dcb302802d3ebbc6e62cf48ca32c42da6
This commit is contained in:
@@ -194,6 +194,9 @@ export class ResultStates {
|
||||
if (!projectConfig.isPreview) {
|
||||
compiler.hooks.compilation.tap('Collect Components And Modules', compilation => {
|
||||
compilation.hooks.additionalAssets.tapAsync('Collect Components And Modules', callback => {
|
||||
if (projectConfig.aceSuperVisualPath && fs.existsSync(projectConfig.aceSuperVisualPath)) {
|
||||
appComponentCollection.clear();
|
||||
}
|
||||
compilation.assets['./component_collection.txt'] =
|
||||
new RawSource(Array.from(appComponentCollection).join(','));
|
||||
compilation.assets['./module_collection.txt'] =
|
||||
|
||||
Reference in New Issue
Block a user