We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d98afa commit 226dc10Copy full SHA for 226dc10
1 file changed
packages/start/config/index.js
@@ -71,6 +71,7 @@ export function defineConfig(baseConfig = {}) {
71
let { vite = {}, ...start } = baseConfig;
72
const extensions = [...DEFAULT_EXTENSIONS, ...(start.extensions || [])];
73
start = defu(start, {
74
+ publicDir: "./public",
75
appRoot: "./src",
76
routeDir: "./routes",
77
ssr: true,
@@ -110,7 +111,7 @@ export function defineConfig(baseConfig = {}) {
110
111
name: "public",
112
type: "static",
113
base: "/",
- dir: "./public"
114
+ dir: start.publicDir
115
},
116
{
117
name: "ssr",
0 commit comments