Skip to content

Commit

Permalink
Add Vite build system
Browse files Browse the repository at this point in the history
  • Loading branch information
jegtnes committed Feb 17, 2024
1 parent 5d31a1e commit 34fd6dc
Show file tree
Hide file tree
Showing 5 changed files with 2,725 additions and 964 deletions.
10 changes: 10 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
last 5 firefox versions,
last 5 firefoxandroid versions,
last 5 chrome versions,
last 5 chromeandroid versions,
last 5 edge versions,
last 5 opera versions,
last 3 safari major versions,
last 3 ios major versions,
last 2 samsung major versions,
not dead
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const markdownItPrism = require("markdown-it-prism");

const rss = require("@11ty/eleventy-plugin-rss");
const metagen = require("eleventy-plugin-metagen");
const EleventyVitePlugin = require("@11ty/eleventy-plugin-vite");

const activeSection = require("./src/_shortcodes/active-section");
const ariaCurrent = require("./src/_shortcodes/aria-current");
Expand All @@ -30,6 +31,7 @@ module.exports = function (eleventyConfig) {

eleventyConfig.addPlugin(rss);
eleventyConfig.addPlugin(metagen);
eleventyConfig.addPlugin(EleventyVitePlugin);

const mdLib = markdownIt({
html: true,
Expand Down
Loading

0 comments on commit 34fd6dc

Please sign in to comment.