Merge branch 'OpenHarmony-3.1-Release' of gitee.com:openharmony/developtools_ace-ets2bundle into release

Change-Id: Ic2285b7847aa6c4459b23338e424cd610b129c91
This commit is contained in:
houhaoyu
2022-09-07 10:16:31 +08:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ function validateEntryAndPreviewCount(result: DecoratorResult, fileQuery: string
fileQuery === '?entry') {
log.push({
type: LogType.ERROR,
message: `A page configured in '${projectConfig.pagesJsonFileName}' must have one and only one '@Entry' `
message: `A page which is being previewed must have one and only one '@Entry' `
+ `decorator, or at least one '@Preview' decorator.`,
fileName: fileName
});
+3
View File
@@ -219,6 +219,9 @@ function setReleaseConfig(config) {
})]
});
config.output.sourceMapFilename = '_releaseMap/[name].js.map';
config.performance = {
hints: false
};
}
function setCopyPluginConfig(config) {