File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " monkey-react-scripts" ,
3
- "version" : " 0.0.3 " ,
3
+ "version" : " 0.0.5 " ,
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 1
1
var fs = require ( 'fs' ) ;
2
2
var path = require ( 'path' ) ;
3
- var chalk = require ( 'chalk' ) ;
4
- var appPath = require ( 'react-scripts/config/paths' ) . appPath ;
5
3
6
4
process . env . NODE_ENV = 'production' ;
7
5
8
6
require ( 'dotenv' ) . config ( { silent : true } ) ;
9
7
8
+ var chalk = require ( 'chalk' ) ;
9
+ var appPath = require ( 'react-scripts/config/paths' ) . appPath ;
10
10
var webpackMonkeyPath = path . resolve ( appPath , 'webpack.monkey.js' ) ;
11
11
var webpackConfig = require ( 'react-scripts/config/webpack.config.prod' ) ;
12
12
Original file line number Diff line number Diff line change 1
1
var fs = require ( 'fs' ) ;
2
2
var path = require ( 'path' ) ;
3
- var chalk = require ( 'chalk' ) ;
4
- var appPath = require ( 'react-scripts/config/paths' ) . appPath ;
5
3
6
4
process . env . NODE_ENV = 'development' ;
7
5
8
6
require ( 'dotenv' ) . config ( { silent : true } ) ;
9
7
8
+ var chalk = require ( 'chalk' ) ;
9
+ var appPath = require ( 'react-scripts/config/paths' ) . appPath ;
10
10
var webpackMonkeyPath = path . resolve ( appPath , 'webpack.monkey.js' ) ;
11
11
var webpackConfig = require ( 'react-scripts/config/webpack.config.dev' ) ;
12
12
You can’t perform that action at this time.
0 commit comments