File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/hap-dsl-xvm/src/loaders Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- /* Copyright (c) 2024-present, the hapjs-platform Project Contributors
1+ /* Copyright (c) 2024-present, the hapjs-platform Project Contributors
22 * SPDX-License-Identifier: Apache-2.0
33 */
44export default function commandLoader ( source ) {
@@ -10,4 +10,4 @@ export default function commandLoader(source) {
1010 throw new Error ( `${ this . resourcePath } 中的 <data> 解析失败,请检查是否为标准的 JSON 格式\n${ e } ` )
1111 }
1212 return `module.exports = ${ JSON . stringify ( jsonObj ) } `
13- }
13+ }
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const defaultLoaders = {
4444 'extract-css' : resolveSync ( './extract-css-loader.js' ) ,
4545 // honor loader
4646 datapp : resolveSync ( './datapp-loader.js' ) ,
47- command : resolveSync ( './command-loader.js' ) ,
47+ command : resolveSync ( './command-loader.js' )
4848 // end honor loader
4949}
5050
@@ -686,6 +686,6 @@ export {
686686 parseImportList ,
687687 // honor process frag
688688 processDataAppFrag ,
689- processCommandFrag ,
689+ processCommandFrag
690690 // end honor process frag
691691}
You can’t perform that action at this time.
0 commit comments