Skip to content

Commit

Permalink
update to be more like creat-react-app@2
Browse files Browse the repository at this point in the history
  • Loading branch information
smmoosavi committed Oct 2, 2018
1 parent bf465b9 commit 304408d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const fs = require('fs-extra');
const path = require('path');

process.env.BABEL_ENV = 'production';
process.env.NODE_ENV = 'production';

const fs = require('fs-extra');
const path = require('path');

require('react-scripts/config/env');

const chalk = require('chalk');
Expand Down
6 changes: 3 additions & 3 deletions scripts/start.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const fs = require('fs');
const path = require('path');

process.env.BABEL_ENV = 'development';
process.env.NODE_ENV = 'development';

const fs = require('fs');
const path = require('path');

require('react-scripts/config/env');

const chalk = require('chalk');
Expand Down

0 comments on commit 304408d

Please sign in to comment.