If you’re planning on using any preprocessing on your assets (images, CSS, or JS) you’ll need to be careful how you implement this as it affects how Forestry builds your sites.
.scss processing out of the box. It requires special configuration, so please see Jekyll’s docs on asset processing in the resources below.
Jekyll also supports preprocessing CoffeeScript with an officially support gem. It requires special configuration, so please see Jekyll’s docs on asset processing in the resources below.
Best Practices for Gulp, Grunt, and Other Build Tools
In order to use external build like Gulp, Grunt, or Webpack with Forestry’s previewing, you should configure it as follows:
- Use a NodeJS-based tool installable via NPM and configured in
- Define the build script(s) as NPM scripts in your
- Use custom build commands to call these NPM scripts.
Caught a mistake or want to contribute to the docs? Edit this page on Github!