-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussion
Description
Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
OSX 10.11.6 - Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal:node --versionand paste the result here:
angular-cli: 1.0.0-beta.11-webpack.9-2
node: 6.5.0
os: darwin x64 - Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Include a npm package which uses React and run a prod-build/serve. - The log given by the failure. Normally this include a stack trace and some
more information.
Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details. - Mention any other details that might be useful.
This can be solved by setting the NODE_ENV to "production" on prod build (i.e. setprocess.env.NODE_ENV = 'production';in build script). I'd be happy to submit a PR for this if interested.
Thanks! We'll be in touch soon.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussion