Skip to content

Instantly share code, notes, and snippets.

@barnaby
Last active April 17, 2022 12:45
Show Gist options
  • Save barnaby/d81e5ac2bec12eca14e1 to your computer and use it in GitHub Desktop.
Save barnaby/d81e5ac2bec12eca14e1 to your computer and use it in GitHub Desktop.
Takana and gulp.js playing nice
var gulp = require('gulp'),
takana = require('takana');
gulp.task('takana', function() {
takana.run({
path: __dirname,
includePaths: [] // Optional
});
});
@melissajclark
Copy link

Thanks for sharing this!

Would you be able to share your package.json file as well?

I've tried using this gist but couldn't get it configured it properly. Currently using takana for development and then using a gulp sass / css plugin to output css. Would be great if takana could also generate my CSS.

Would be amazing to see a working gulpfile.js & package.json file together for outputting takana into CSS. Would really help me see what the error is when I tried to set it up!

Thank you!

@barnaby
Copy link
Author

barnaby commented Jan 11, 2015

Yup, check out mechio/takana-example, this should give you a good idea of how to use takana with gulp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment