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

shorthand helpers for fetching js or css #2

Merged
merged 1 commit into from Jan 20, 2014

Conversation

kimjoar
Copy link
Contributor

@kimjoar kimjoar commented Jan 20, 2014

All use cases I've found in my apps right now needs either the JS files or the CSS files, not both at the same time. So I tried to create a couple of shorthand helpers, so we don't need { js: true } and { css: true }. I think the api looks a little less noisy:

var assets = require("gulp-assets");

gulp.src("./src/*.html")
    .pipe(assets.js())
    .pipe(gulp.dest("./dist"));

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 50adef5 on kjbekkelund:shorthand-helper into e8a7c18 on kombucha:master.

kombucha added a commit that referenced this pull request Jan 20, 2014
feature: shorthand helpers for fetching js or css
@kombucha kombucha merged commit 486aab2 into kombucha:master Jan 20, 2014
@kombucha
Copy link
Owner

Totally agree.
Awesome thanks !

@kimjoar kimjoar deleted the shorthand-helper branch January 20, 2014 13:47
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.

None yet

3 participants