fix asset paths

This commit is contained in:
Joshua Seigler 2025-06-29 14:47:50 -04:00
parent 5195ee7acd
commit 42ac9ee2b6
3 changed files with 11 additions and 7 deletions

View file

@ -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({})],