Skip to content

Commit cddb337

Browse files
[fix]去掉命名空间重复的输出 review by songym
1 parent 6fc23f7 commit cddb337

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/lint-export-webpack-plugin.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const { lintExportRepeat, lintNamespaceRepeat } = require('./lint');
2-
1+
// const { lintExportRepeat, lintNamespaceRepeat } = require('./lint');
2+
const { lintExportRepeat } = require('./lint');
33
class LintExportWebpackPlugin {
44
constructor(libName) {
55
this.libName = libName === 'ol' ? 'openlayers' : libName;
@@ -11,8 +11,8 @@ 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+
// const repeatNamespace = lintNamespaceRepeat(this.libName);
15+
// console.log(`${this.libName}命名空间重复:`, repeatNamespace);
1616
});
1717
}
1818

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy