File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ const env = getClientEnvironment(publicUrl);
4343
4444// Assert this just to be safe.
4545// Development builds of React are slow and not intended for production.
46- if ( env . stringified [ 'process.env' ] . NODE_ENV !== '"production"' ) {
47- throw new Error ( 'Production builds must have NODE_ENV=production.' ) ;
48- }
46+ // if (env.stringified['process.env'].NODE_ENV !== '"production"') {
47+ // throw new Error('Production builds must have NODE_ENV=production.');
48+ // }
4949
5050// Check if TypeScript is setup
5151const useTypeScript = fs . existsSync ( paths . appTsConfig ) ;
Original file line number Diff line number Diff line change 3333 "watch-css" : " npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive"
3434 },
3535 "dependencies" : {
36- "annotated-prop-types" : " ^0.3.0" ,
3736 "classnames" : " ^2.2.6" ,
3837 "fiori-fundamentals" : " ^1.4.0" ,
3938 "react-router" : " ^4.3.1" ,
4039 "react-router-dom" : " ^4.3.1" ,
4140 "react-syntax-highlighter" : " ^9.0.1"
4241 },
4342 "devDependencies" : {
43+ "annotated-prop-types" : " ^0.3.0" ,
4444 "@babel/cli" : " ^7.1.5" ,
4545 "@babel/core" : " 7.1.0" ,
4646 "@babel/polyfill" : " ^7.1.5" ,
Original file line number Diff line number Diff line change 11'use strict' ;
22
33// Do this as the first thing so that any code reading it knows the right env.
4- process . env . BABEL_ENV = 'production ' ;
5- process . env . NODE_ENV = 'production ' ;
4+ process . env . BABEL_ENV = 'development ' ;
5+ process . env . NODE_ENV = 'development ' ;
66
77// Makes the script crash on unhandled rejections instead of silently
88// ignoring them. In the future, promise rejections that are not handled will
You can’t perform that action at this time.
0 commit comments