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

11 lines
124 B
Plaintext

# Jekyll-generated files
_site/
.sass-cache/
Gemfile.lock
# Hugo-generated files
/public/
/.hugo_build.lock
node_modules/