jonespen / kss-webpack-plugin

Generate KSS styleguide from Webpack
MIT License
10 stars 10 forks source link

KSS Config template option not working #4

Closed devinle closed 7 years ago

devinle commented 8 years ago

Seems like with the newest version of KSS, it expects builder rather than template. I believe the template is expected to be a clone of the templates that ship with the latest KSS node module. Just thought I'd bring it up in case anyone else has the same issue. Works great for me now.

var KssConfig = { source: 'path/to/css_or_scss', template: 'path/to/template' };

becomes

var KssConfig = { source: 'path/to/css_or_scss', builder: 'path/to/template' };

MartinMuzatko commented 7 years ago

Yes this is correct, please change the property to builder, instead of template. Or at least document that (deprecation notice). @jonespen

jonespen commented 7 years ago

Cool! Feel free to submit a PR ;)

Sendt fra min iPhone

Den 6. mar. 2017 kl. 09.36 skrev Martin Muzatko notifications@github.com:

Yes this is correct, please change the property to builder, instead of template. Or at least document that (deprecation notice). @jonespen

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

jonespen commented 7 years ago

Solved by #5