Skip to content

Commit bbf1f4b

Browse files
【fix】去除命名空间重复的提示 review by xiongjj
1 parent e27b570 commit bbf1f4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/lint-export-webpack-plugin.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ class LintExportWebpackPlugin {
1111
if(repeatExportNames.length > 0) {
1212
throw new Error(`${this.libName}导出名重复:${repeatExportNames}`)
1313
}
14-
const repeatNamespace = lintNamespaceRepeat(this.libName);
15-
console.log(`${this.libName}命名空间重复:`, repeatNamespace);
14+
// 当SuperMap.xxx都挂在 xx.supermap时,排查SuperMap和各端的命名空间重复
15+
// const repeatNamespace = lintNamespaceRepeat(this.libName);
16+
// console.log(`${this.libName}命名空间重复:`, repeatNamespace);
1617
});
1718
}
1819

0 commit comments

Comments
 (0)