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

Multiple js/css transforms? #22

Closed
tommyno opened this issue Jun 12, 2015 · 1 comment
Closed

Multiple js/css transforms? #22

tommyno opened this issue Jun 12, 2015 · 1 comment

Comments

@tommyno
Copy link

tommyno commented Jun 12, 2015

Is it possible to define more than one js and css transform? That would be really helpful.

Not working example:

js: uglify(), concat()
css: minifyCss(), autoPrefixer('last 2 version'), unCss()
@ashaffer
Copy link
Owner

ashaffer commented Jul 7, 2015

Sure, just do:

js: uglify.pipe(concat())
css: minifyCss().pipe(autoPrefixer('last 2 version').pipe(unCss())

@ashaffer ashaffer closed this as completed Jul 7, 2015
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