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() {
47
47
'runtime' ,
48
48
'utility.inlineEnvironmentVariables'
49
49
] ,
50
- plugins : [ require ( './vendor/babel-plugin-dead-code-elimination' ) ] ,
50
+ plugins : [
51
+ 'inline-package-json' ,
52
+ require ( './vendor/babel-plugin-dead-code-elimination' )
53
+ ] ,
51
54
} ) )
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 ) ) )
53
55
. pipe ( gulp . dest ( path . join ( 'lib' , BUILD ) ) ) ;
54
56
} ) ;
55
57
Original file line number Diff line number Diff line change 33
33
"devDependencies" : {
34
34
"babel-jest" : " ~5.3.0" ,
35
35
"babel-plugin-flow-comments" : " ^1.0.9" ,
36
+ "babel-plugin-inline-package-json" : " ~1.0.1" ,
36
37
"browserify" : " ^11.0.1" ,
37
38
"coveralls" : " ^2.11.3" ,
38
39
"gulp" : " ^3.9.0" ,
You can’t perform that action at this time.
0 commit comments