소스 검색

Webpack with scope hoisting

master
Lyubo Marinov 8 년 전
부모
커밋
2a75d67be9
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1
    5
      webpack.config.js

+ 1
- 5
webpack.config.js 파일 보기

@@ -33,16 +33,12 @@ if (minimize) {
33 33
             NODE_ENV: JSON.stringify('production')
34 34
         }
35 35
     }));
36
-
36
+    plugins.push(new webpack.optimize.ModuleConcatenationPlugin());
37 37
     plugins.push(new webpack.optimize.UglifyJsPlugin({
38 38
         compress: {
39
-            // It is nice to see warnings from UglifyJsPlugin that something is
40
-            // unused/removed.
41 39
             warnings: true
42 40
         },
43 41
         extractComments: true,
44
-
45
-        // Use the source map to map error message locations to modules.
46 42
         sourceMap: true
47 43
     }));
48 44
 }

Loading…
취소
저장