assets/js folder with a recognizable filename.
assets/js/vendor folder. Define the mount points in
partials/footer/scripts.html bundles all files that end with
.js recursively into a single file called
js/main.bundle.js. In production mode, the output is minified and linked to with a fingerprint.
Hinode’s base layout
config/_default/config.toml. The current configuration imports the relevant files of Bootstrap and FlexSearch.
[[module.mounts]] source = "node_modules/bootstrap/dist/js" target = "assets/js/vendor/bootstrap" includeFiles = "*.bundle.js" [[module.mounts]] source = "node_modules/flexsearch/dist" target = "assets/js/vendor/flexsearch" includeFiles = "*.bundle.js"