Skip to content

Commit aedd79f

Browse files
committed
fix dotenv again
1 parent 9ef5355 commit aedd79f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monkey-react-scripts",
3-
"version": "0.0.3",
3+
"version": "0.0.5",
44
"description": "Monkey react script runner",
55
"main": "index.js",
66
"repository": "[email protected]:monkey-patches/monkey-react-scripts.git",

scripts/build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
var fs = require('fs');
22
var path = require('path');
3-
var chalk = require('chalk');
4-
var appPath = require('react-scripts/config/paths').appPath;
53

64
process.env.NODE_ENV = 'production';
75

86
require('dotenv').config({silent: true});
97

8+
var chalk = require('chalk');
9+
var appPath = require('react-scripts/config/paths').appPath;
1010
var webpackMonkeyPath = path.resolve(appPath, 'webpack.monkey.js');
1111
var webpackConfig = require('react-scripts/config/webpack.config.prod');
1212

scripts/start.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
var fs = require('fs');
22
var path = require('path');
3-
var chalk = require('chalk');
4-
var appPath = require('react-scripts/config/paths').appPath;
53

64
process.env.NODE_ENV = 'development';
75

86
require('dotenv').config({silent: true});
97

8+
var chalk = require('chalk');
9+
var appPath = require('react-scripts/config/paths').appPath;
1010
var webpackMonkeyPath = path.resolve(appPath, 'webpack.monkey.js');
1111
var webpackConfig = require('react-scripts/config/webpack.config.dev');
1212

0 commit comments

Comments
 (0)