feat: Add jquery dependency

- Add jquery version 3.7.1
- Remove external script resource from app template
- Add eleventy passthrough to build/vendor
This commit is contained in:
sthag 2025-10-27 21:15:32 +01:00
parent c77bcd8bdc
commit ff5d4bd3eb
4 changed files with 14 additions and 2 deletions

View file

@ -40,6 +40,10 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("vendor");
eleventyConfig.addPassthroughCopy({"node_modules/bootstrap-icons": "vendor/bootstrap-icons"});
eleventyConfig.addPassthroughCopy({
"node_modules/jquery/dist/jquery.min.js": "vendor",
"node_modules/jquery/dist/jquery.min.map": "vendor"
});
// eleventyConfig.addPassthroughCopy({"node_modules/normalize.css/normalize.css": "vendor/normalize.css"});
eleventyConfig.addWatchTarget("./source/style/");