File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "presets" : [" es2015" , " stage-2 " ]
2+ "presets" : [" es2015" , " stage-0 " ]
33}
Original file line number Diff line number Diff line change 5757 "babel-core" : " ^6.17.0" ,
5858 "babel-loader" : " ^6.2.5" ,
5959 "babel-preset-es2015" : " ^6.16.0" ,
60- "babel-preset-stage-2" : " ^6.17.0" ,
61- "babili-webpack-plugin" : " 0.0.5" ,
60+ "babel-preset-stage-0" : " ^6.16.0" ,
6261 "copy-webpack-plugin" : " ^3.0.1" ,
6362 "css-loader" : " ^0.25.0" ,
6463 "eslint" : " ^3.8.0" ,
8281 "postcss-calc" : " ^5.3.1" ,
8382 "postcss-cssnext" : " ^2.8.0" ,
8483 "postcss-import" : " ^8.1.2" ,
85- "postcss-loader" : " ^0.13 .0" ,
84+ "postcss-loader" : " ^1.0 .0" ,
8685 "postcss-nested" : " ^1.0.0" ,
8786 "rimraf" : " ^2.5.4" ,
8887 "semantic-release" : " ^4.3.5" ,
Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin');
33module . exports = {
44 loaders : [ {
55 test : / \. j s $ / ,
6- loader : 'babel' ,
7- exclude : / n o d e _ m o d u l e s /
6+ loader : 'babel'
87 } , {
98 test : / \. j s $ / ,
109 loaders : [
1110 `string-replace?search=require(config.parser)&replace=require("../../src/lint/parser")` , // eslint itself
12- `string-replace?search=require(rules[ruleId])&replace=void 0 ` , // eslint itself
11+ `string-replace?search=require(rules[ruleId])&replace=undefined ` , // eslint itself
1312 ]
1413 } , {
1514 test : / \. j s o n $ / ,
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
33const OpenBrowserPlugin = require ( 'open-browser-webpack-plugin' ) ;
44const HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
55const ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
6- const BabiliPlugin = require ( "babili-webpack-plugin" ) ;
76
87const { isDevelopment, isProduction, port } = require ( './env' ) ;
98
@@ -32,11 +31,14 @@ if (isDevelopment) {
3231 ) ;
3332} else if ( isProduction ) {
3433 plugins . push (
35- new BabiliPlugin ( )
34+ new webpack . optimize . UglifyJsPlugin ( {
35+ compress : {
36+ warnings : false
37+ }
38+ } )
3639 ) ;
3740}
3841
39-
4042plugins . push (
4143 new CopyWebpackPlugin ( [ ] )
4244) ;
You can’t perform that action at this time.
0 commit comments