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

Uglifyjs options #6

Closed
franciscolourenco opened this issue Feb 12, 2016 · 2 comments
Closed

Uglifyjs options #6

franciscolourenco opened this issue Feb 12, 2016 · 2 comments

Comments

@franciscolourenco
Copy link

Is it possible to pass options to uglifyjs?
I'm trying to acomplish the same as cross-env NODE_ENV=production browserify src/main.js | uglifyjs -c warnings=false -m > dist/build.js

@JamesMessinger
Copy link
Member

That's not currently possible, mostly to keep things simple. (sorry, I know this is pretty much the same answer as I gave here)

@JamesMessinger
Copy link
Member

I just released version 3.0.0, which now allows you to configure uglifyify via the browserify.transform field in the package.json. See the example here

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

No branches or pull requests

2 participants