Files
Oliver Hamlet 608864cc7d Vendor the JavaScript library dependencies
Use NPM to manage their versions: manually vendoring the libraries isn't feasible for Octokit, as its libraries aren't provided as single-file imports, and have nested dependencies of their own. Since NPM is needed to resolve that, use it for the other dependencies too.

Hugo's built-in bundling and minification support is used, though it means that the dependencies are duplicated within the scripts imported on different pages. I think that could be avoided by introducing a middle layer of JS assets that bundle the dependencies but aren't bundled themselves.
2026-01-11 17:52:18 +00:00

22 lines
398 B
TOML

baseURL = 'https://loot.github.io/'
languageCode = 'en-us'
title = 'LOOT'
[outputs]
home = ['html']
page = ['html']
rss = ['rss']
section = ['html']
taxonomy = []
term = []
[module]
[[module.mounts]]
disableWatch = false
source = 'assets'
target = 'assets'
[[module.mounts]]
source = 'node_modules/material-design-lite'
target = 'assets/material-design-lite'