diff --git a/eleventy.config.js b/eleventy.config.js index 5a25bbd..6396815 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -131,7 +131,7 @@ export default async (config) => { config.addPlugin(EleventyFeedPlugin, { type: "atom", // "atom", ""rss", or "json" - outputPath: "/feed.xml", + outputPath: "/assets/feed.xml", collection: { name: "posts", // iterate over `collections.posts` limit: 0, // 0 means no limit @@ -151,11 +151,15 @@ export default async (config) => { config.addPlugin(EleventyVitePlugin, { viteOptions: { + appType: "mpa", + publicDir: "assets/", server: { port: 8080, + middleWareMode: true, }, build: { mode: "production", + emptyOutDir: true, sourcemap: true, }, plugins: [ViteMinifyPlugin({})], diff --git a/site/_includes/base.njk b/site/_includes/base.njk index 3b0036d..edbe46c 100644 --- a/site/_includes/base.njk +++ b/site/_includes/base.njk @@ -11,7 +11,7 @@ title: Joshua's Homepage - +