Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't minifiy builds of develop through CI packaging #11867

Merged
merged 2 commits into from
Jan 16, 2020
Merged

Conversation

turt2live
Copy link
Member

Fixes #11864

This uses an environment variable because the build script assumes you want a production build, but we don't for this particular script. To avoid having a mess of NPM scripts to worry about, we'll just pass a flag down.

Fixes #11864

This uses an environment variable because the build script assumes you want a production build, but we don't for this particular script. To avoid having a mess of NPM scripts to worry about, we'll just pass a flag down.
@turt2live turt2live requested a review from a team January 15, 2020 19:20
@foldleft
Copy link
Contributor

I'm okay with this, but it looks like @dbkr already took a look so I'll leave it to him

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Fwiw this is a reason we had build:dev etc. (it also meant that you could build a bundle on disk, eg. for electron dev, without having to wait for it to minify it or running webpack manually).

webpack.config.js Show resolved Hide resolved
@jryans
Copy link
Collaborator

jryans commented Jan 16, 2020

I am also sad about build:dev going away, but as long as there's some route to achieve the same, it should be fine.

@turt2live
Copy link
Member Author

the trouble with build:dev is that it wasn't really worth having 4x the npm scripts which varied by only 1 or 2 flags.

@turt2live turt2live merged commit 0efd7ed into develop Jan 16, 2020
@turt2live turt2live deleted the travis/fix-ci branch January 16, 2020 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI minifies develop
4 participants