Open timwasson opened 6 years ago
@timwasson did you add kstat-kss-builder
as a dependency in your package.json?
I did. This is my dependencies:
"dependencies": { "gulp": "^3.9.1", "gulp-exec": "^2.1.3", "gulp-sass": "^3.1.0", "kalastatic": "^3.2.0", "kstat-kss-builder": "^0.13.5", "mkdirp": "^0.5.1", "twig-drupal-filters": "^1.1.0" }
In that case I think @RobLoach is more adept at fielding this one.
@timwasson Thanks for posting in the queue. Once https://github.com/kalamuna/kalastatic/pull/525 is in, you'll want to disable the twig
extensions in your KSS conf....
kss:
twig: false
@soniktrooth Mind giving a review? Thanks!
@timwasson Also, node_modules/kstat-kss-builder
is now the default, and comes packed in. I'll update those docs. Thanks for the note.
From your documents, it says I can use a custom KSS builder: http://kalastatic.readthedocs.io/en/latest/3-Styleguide/
I tried
builder: "node_modules/kstat-kss-builder"
in my YAML, but this generated errors on build. The only builder I can get working is the default, which isbuilder/twig
. When I insert kstat-kss-builder into my YAML and build, this is my error: