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

cli options when run from API #32

Open
danschumann opened this issue Apr 23, 2015 · 1 comment
Open

cli options when run from API #32

danschumann opened this issue Apr 23, 2015 · 1 comment

Comments

@danschumann
Copy link

Hey,

b.transform({minify: true}, 'uglifyify')

but I don't think it's minifying (there are still comments left in, for one thing).

I see a ton of examples with CLI, but what about calling from inside of node ( like a gulp task with watchify )

Is my syntax wrong?

@yoshuawuyts
Copy link
Collaborator

@danschumann have you enabled this as a transform in the package.json? Can't recall if this needs it, but a bunch of transforms do.

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