mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
Merge branch 'OpenHarmony-3.1-Release' of gitee.com:openharmony/developtools_ace-ets2bundle into release
Change-Id: Ic2285b7847aa6c4459b23338e424cd610b129c91
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
@@ -219,6 +219,9 @@ function setReleaseConfig(config) {
|
||||
})]
|
||||
});
|
||||
config.output.sourceMapFilename = '_releaseMap/[name].js.map';
|
||||
config.performance = {
|
||||
hints: false
|
||||
};
|
||||
}
|
||||
|
||||
function setCopyPluginConfig(config) {
|
||||
|
||||
Reference in New Issue
Block a user