Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Add BABEL_ENV into build scripts in package.json #4

Open
birdofpreyru opened this issue Dec 26, 2018 · 0 comments
Open

Add BABEL_ENV into build scripts in package.json #4

birdofpreyru opened this issue Dec 26, 2018 · 0 comments
Labels
P0 !!! Critical! Must be handled ASAP!

Comments

@birdofpreyru
Copy link
Collaborator

https://github.com/topcoder-platform/topcoder-react-starter/blob/564dc5a6e4d0838c4c0724f94dc5e443f5de2794/package.json#L7-L8

BABEL_ENV=production and BABEL_ENV=development should be added in front of the Webpack build command, otherwise proper environments are not selected during the build (since the update to Babel 7).

@birdofpreyru birdofpreyru added the P0 !!! Critical! Must be handled ASAP! label Dec 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P0 !!! Critical! Must be handled ASAP!
Projects
None yet
Development

No branches or pull requests

1 participant