File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 3939 "ts-loader" : " ^5.3.0" ,
4040 "vizceral" : " ^4.7.3" ,
4141 "webpack" : " ^4.26.0" ,
42- "webpack-cli" : " ^3.2.3"
42+ "webpack-cli" : " ^3.2.3" ,
43+ "uglifyjs-webpack-plugin" : " 1.3.0"
4344 },
4445 "dependencies" : {
4546 "lodash" : " ^4.17.11" ,
Original file line number Diff line number Diff line change 1- var _ = require ( 'lodash' ) ;
1+ import _ from 'lodash' ;
22
33class GraphGenerator {
44
Original file line number Diff line number Diff line change @@ -49,6 +49,16 @@ module.exports = {
4949 } ,
5050 module : {
5151 rules : [
52+ {
53+ test : / \. j s $ / ,
54+ exclude : / ( n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s ) / ,
55+ use : {
56+ loader : 'babel-loader' ,
57+ options : {
58+ presets : [ '@babel/preset-env' ]
59+ }
60+ }
61+ } ,
5262 {
5363 test : / \. t s x ? $ / ,
5464 loaders : [
You can’t perform that action at this time.
0 commit comments