File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " monkey-react-scripts" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"description" : " Monkey react script runner" ,
5
5
"main" : " index.js" ,
6
6
"repository" :
" [email protected] :monkey-patches/monkey-react-scripts.git" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ var appPath = require('react-scripts/config/paths').appPath;
5
5
6
6
process . env . NODE_ENV = 'production' ;
7
7
8
+ require ( 'dotenv' ) . config ( { silent : true } ) ;
9
+
8
10
var webpackMonkeyPath = path . resolve ( appPath , 'webpack.monkey.js' ) ;
9
11
var webpackConfig = require ( 'react-scripts/config/webpack.config.prod' ) ;
10
12
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ var appPath = require('react-scripts/config/paths').appPath;
5
5
6
6
process . env . NODE_ENV = 'development' ;
7
7
8
+ require ( 'dotenv' ) . config ( { silent : true } ) ;
9
+
8
10
var webpackMonkeyPath = path . resolve ( appPath , 'webpack.monkey.js' ) ;
9
11
var webpackConfig = require ( 'react-scripts/config/webpack.config.dev' ) ;
10
12
You can’t perform that action at this time.
0 commit comments