You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
With #3432 we are no longer building hybrid development/production bundles, but instead build production builds all the time. It would be better if we built production bundles in production, and development builds in development.
To do this we need to add a flag to bin/build-scripts/bundle_dependencies for a dev or production build. A dev build doesn't uglify, uglifyify, and has NODE_ENV=dev. Then we should use bin/build-scripts/set_file to actually control the bundles, and make the generated file (the one that contains the flag value) a dependency for all bundles. Then we should make sure in bin/run-server it is set to dev, and in bin/release-version it is set to production.
The text was updated successfully, but these errors were encountered:
With #3432 we are no longer building hybrid development/production bundles, but instead build production builds all the time. It would be better if we built production bundles in production, and development builds in development.
To do this we need to add a flag to
bin/build-scripts/bundle_dependencies
for a dev or production build. A dev build doesn't uglify, uglifyify, and has NODE_ENV=dev. Then we should usebin/build-scripts/set_file
to actually control the bundles, and make the generated file (the one that contains the flag value) a dependency for all bundles. Then we should make sure inbin/run-server
it is set to dev, and inbin/release-version
it is set to production.The text was updated successfully, but these errors were encountered: