Skip to content

Commit 724d092

Browse files
committed
fix(DynamicBuild): 修复按需编译未复制 core 文件夹的问题
close #1146
1 parent 0505ced commit 724d092

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const {
1616
const path = require('path');
1717

1818
const componentData = require('./until');
19-
const result = `{common/*,behaviors,utils,${componentData()}}`;
19+
const result = `{common/*,core/*,behaviors,utils,${componentData()}}`;
2020
const isCustom = (result !== '{common/*,behaviors,utils,}');
2121

2222
const distPath = path.resolve(__dirname, '../dist');

commitlint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ module.exports = {
7272
'CapsuleBar',
7373
'Circle',
7474
'ImageClipper',
75-
'TabBar'
75+
'TabBar',
76+
'DynamicBuild'
7677
]
7778
]
7879
}

0 commit comments

Comments
 (0)