Skip to content

Commit 4df8014

Browse files
committed
svelte: Use /svelte base path for now
1 parent b3f5202 commit 4df8014

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

svelte/svelte.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ const config = {
1313
// avoid using `index.html` as a fallback page, so we use `200.html` instead.
1414
fallback: '200.html',
1515
}),
16+
paths: {
17+
// We are serving the app from the `/svelte` subdirectory for now
18+
// to be able to serve it alongside the Ember.js app at `/`.
19+
base: process.env.VITEST ? '' : '/svelte',
20+
},
1621
},
1722
};
1823

0 commit comments

Comments
 (0)