Install details-utils

This commit is contained in:
Helen Chong 2024-05-22 15:35:10 +08:00
parent 8f854c9425
commit de01b43d42
4 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Built with [Eleventy](https://www.11ty.dev/) and deployed to Neocities with the
- [Eleventy](https://www.11ty.dev/)
- Eleventy's official [RSS](https://www.11ty.dev/docs/plugins/rss/) plugin
- Eleventy's official [Navigation](https://www.11ty.dev/docs/plugins/navigation/) plugin
- [details-utils](https://www.npmjs.com/package/@zachleat/details-utils)
### Eleventy Community Plugins
- [eleventy-plugin-emoji-readtime](https://www.npmjs.com/package/@11tyrocks/eleventy-plugin-emoji-readtime)

BIN
bun.lockb

Binary file not shown.

View File

@ -8,6 +8,9 @@ module.exports = function (eleventyConfig) {
// Copy files
eleventyConfig.addPassthroughCopy("./src/assets/");
eleventyConfig.addWatchTarget("./src/assets/");
eleventyConfig.addPassthroughCopy({
"node_modules/@zachleat/details-utils/details-utils.js": "assets/js/details-utils.js",
});
// Custom Plugins
eleventyConfig.addPlugin(require('./eleventy.config.md.js'));

View File

@ -16,6 +16,7 @@
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-rss": "^1.2.0",
"@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1",
"@zachleat/details-utils": "^2.0.2",
"eleventy-plugin-embed-everything": "^1.18.2",
"eleventy-plugin-metagen": "^1.8.3",
"eleventy-plugin-nesting-toc": "^1.3.0",