Last active
April 17, 2022 12:45
-
-
Save barnaby/d81e5ac2bec12eca14e1 to your computer and use it in GitHub Desktop.
Takana and gulp.js playing nice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
takana = require('takana'); | |
gulp.task('takana', function() { | |
takana.run({ | |
path: __dirname, | |
includePaths: [] // Optional | |
}); | |
}); |
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
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!