Sprokkel supports two types of asset.

./assets

Static assets must be placed in ./assets. These are copied as-is to the output directory, preserving the directory structure. For example, a file ./assets/foo/bar/baz.qux is copied to ./out/foo/bar/baz.qux.

./cat 🐈‍⬛

Cat assets are placed in ./cat. These are concatenated to a single output file per directory. The directory structure of cat must be a tree where only leaf nodes contain files. For example:


./cat
├── css
│   └── style.css
│       ├── 00_fonts.css
│       ├── 01_highlight.css
│       └── 02_main.css
└── js
    └── main.js
        ├── 00_colorscheme_toggle.js
        └── 01_email_obfuscator.js

This produces two files: ./out/css/style.css and ./out/js/main.js.