Skip to content

Commit 4ed3d10

Browse files
author
Huang Zijian
committed
remove unused code
1 parent 3b130f6 commit 4ed3d10

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

build/webpack.prod.conf.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ config.output.chunkFilename = '[id].[chunkhash].js';
1515

1616
config.devtool = SOURCE_MAP ? 'source-map' : false;
1717

18-
// generate loader string to be used with extract text plugin
19-
function generateExtractLoaders(loaders) {
20-
return loaders.map(function(loader) {
21-
return loader + '-loader' + (SOURCE_MAP ? '?sourceMap' : '');
22-
}).join('!');
23-
}
24-
2518
config.plugins = (config.plugins || []).concat([
2619
// 复制高度静态资源
2720
new CopyWebpackPlugin([

0 commit comments

Comments
 (0)