On 5 September 2017 at 19:07, Gour <
go...@atmarama.com> wrote:
> However, I wonder what to do to provide some means to customize
> (e.g. using SASS) such theme by using the frameworks' build system -
> these days npm, bower, gulp and similar JS-stuff are used for the
> purpose, so I'm looking for some advice how to incorporate those into
> Nikola's toolchain?
>
> There are plugins to handle less/sass, but these days frameworks usually use
> more complicated setups, so I wonder if some similar plugin e.g. for
> npm/gulp/etc. would be solution or some other. more-general 'hook' to
> incorporate such build system into Nikola?
You can just write a plugin that runs those tools, it shouldn’t be a
problem. But do you really need to? You would usually make those
changes pretty rarely, so you can just run that tool when necessary.
And from a theme end-user perspective, I don’t want to install the
entire Node stack just to compile a single CSS file. Case in point: to
do that with Bootstrap, 181 megabytes of disk space are needed.
--
Chris Warrick <
https://chriswarrick.com/>
PGP: 5EAAEA16