Skip to content

Commit c7cdab4

Browse files
committed
fix(DynamicBuild): 修复按需编译时 common 下 js 文件缺失的问题
close #1281
1 parent 945571f commit c7cdab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const {
1616
const path = require('path');
1717

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

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

0 commit comments

Comments
 (0)