fix asset paths
This commit is contained in:
parent
5195ee7acd
commit
42ac9ee2b6
3 changed files with 11 additions and 7 deletions
|
@ -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({})],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue