Skip to content

[WIP] Automatically add minify build tag when -m is specified #612

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

Closed
wants to merge 1 commit into from

Conversation

myitcv
Copy link
Member

@myitcv myitcv commented Mar 21, 2017

A WIP PR based on discussion in #611

Should probably be accompanied by some documentation in the wiki that defines this now well-known build tag minify

Copy link
Member

@dmitshur dmitshur left a comment

Choose a reason for hiding this comment

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

I think the implementation should be moved to github.com/gopherjs/gopherjs/build package.

build.NewSession is given the value of options. It can copy the value of Minify from there. Then it's available inside Session.BuildPackage and others.

It's not neccessary to address this before we come to a decision on the proposal, just leaving the comment for future reference.

@myitcv
Copy link
Member Author

myitcv commented Mar 22, 2017

Closing per #611

@myitcv myitcv closed this Mar 22, 2017
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.

2 participants