File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- const { lintExportRepeat, lintNamespaceRepeat } = require ( './lint' ) ;
2
-
1
+ // const { lintExportRepeat, lintNamespaceRepeat } = require('./lint');
2
+ const { lintExportRepeat } = require ( './lint' ) ;
3
3
class LintExportWebpackPlugin {
4
4
constructor ( libName ) {
5
5
this . libName = libName === 'ol' ? 'openlayers' : libName ;
@@ -11,8 +11,8 @@ class LintExportWebpackPlugin {
11
11
if ( repeatExportNames . length > 0 ) {
12
12
throw new Error ( `${ this . libName } 导出名重复:${ repeatExportNames } ` )
13
13
}
14
- const repeatNamespace = lintNamespaceRepeat ( this . libName ) ;
15
- console . log ( `${ this . libName } 命名空间重复:` , repeatNamespace ) ;
14
+ // const repeatNamespace = lintNamespaceRepeat(this.libName);
15
+ // console.log(`${this.libName}命名空间重复:`, repeatNamespace);
16
16
} ) ;
17
17
}
18
18
You can’t perform that action at this time.
0 commit comments