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{
22 "name" : " monkey-react-scripts" ,
3- "version" : " 0.0.2 " ,
3+ "version" : " 0.0.3 " ,
44 "description" : " Monkey react script runner" ,
55 "main" : " index.js" ,
66 "repository" : " git@github.com: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;
55
66process . env . NODE_ENV = 'production' ;
77
8+ require ( 'dotenv' ) . config ( { silent : true } ) ;
9+
810var webpackMonkeyPath = path . resolve ( appPath , 'webpack.monkey.js' ) ;
911var webpackConfig = require ( 'react-scripts/config/webpack.config.prod' ) ;
1012
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ var appPath = require('react-scripts/config/paths').appPath;
55
66process . env . NODE_ENV = 'development' ;
77
8+ require ( 'dotenv' ) . config ( { silent : true } ) ;
9+
810var webpackMonkeyPath = path . resolve ( appPath , 'webpack.monkey.js' ) ;
911var webpackConfig = require ( 'react-scripts/config/webpack.config.dev' ) ;
1012
You can’t perform that action at this time.
0 commit comments