Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Fix #2254, build production versions of bundles #3432

Merged
merged 1 commit into from
Aug 31, 2017
Merged

Conversation

ianb
Copy link
Contributor

@ianb ianb commented Aug 29, 2017

This always builds bundles as a production build. envify and uglifyify should also help improve overall bundle sizes

This always builds bundles as a production build. envify and uglifyify should also help improve overall bundle sizes
@codecov-io
Copy link

Codecov Report

Merging #3432 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3432   +/-   ##
=======================================
  Coverage   52.28%   52.28%           
=======================================
  Files          25       25           
  Lines        1425     1425           
  Branches      260      260           
=======================================
  Hits          745      745           
  Misses        680      680

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 500ca6d...4693763. Read the comment docs.

@jaredhirsch jaredhirsch merged commit 2450dc7 into master Aug 31, 2017
@jaredhirsch jaredhirsch deleted the prod-bundles branch August 31, 2017 16:46
browserify -o "$dest" \
NODE_ENV=production browserify -o "$dest" \
-g [ envify --NODE_ENV production ] \
-g uglifyify \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this mean in relation to the $NO_UGLIFY block below? Even if we specify NO_UGLIFY, the bundle would still be minified, no?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, see #3433 for the rest of the story

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants