File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ gulp.task('compile', function() {
4747 'runtime' ,
4848 'utility.inlineEnvironmentVariables'
4949 ] ,
50- plugins : [ require ( './vendor/babel-plugin-dead-code-elimination' ) ] ,
50+ plugins : [
51+ 'inline-package-json' ,
52+ require ( './vendor/babel-plugin-dead-code-elimination' )
53+ ] ,
5154 } ) )
52- . pipe ( replace ( / r e q u i r e \( ' \. \. \/ p a c k a g e \. j s o n ' \) / g, JSON . stringify ( packageJSON ) ) )
5355 . pipe ( gulp . dest ( path . join ( 'lib' , BUILD ) ) ) ;
5456} ) ;
5557
Original file line number Diff line number Diff line change 3333 "devDependencies" : {
3434 "babel-jest" : " ~5.3.0" ,
3535 "babel-plugin-flow-comments" : " ^1.0.9" ,
36+ "babel-plugin-inline-package-json" : " ~1.0.1" ,
3637 "browserify" : " ^11.0.1" ,
3738 "coveralls" : " ^2.11.3" ,
3839 "gulp" : " ^3.9.0" ,
You can’t perform that action at this time.
0 commit comments