Rebuild is showing "Environment: development" during ember-cli build

BTW honest question - what is the idea behind not running ember in production mode with -prod ?

3 Likes

We use the EMBER_ENV environment variable instead of the -prod flag. The result should be the same. I certainly see a production build running here on Meta and other sites.

I’m not sure what’s printing Environment: development to the build log… we should investigate :eyes:

Moved this to its own topic to track

5 Likes

I’m also showing environment development when upgrading discourse.

1 Like

It shouldn’t make any functional difference… but here’s a PR to use -prod and therefore fix up the logging:

2 Likes

This topic was automatically closed after 15 hours. New replies are no longer allowed.