Skip to content

Commit 78f733c

Browse files
Brendonovichatilafassina
authored andcommitted
build to .solid-start/ instead of dist/
1 parent 64c3aea commit 78f733c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/start/src/config/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ export function solidStart(options?: SolidStartOptions): Array<PluginOption> {
9292
}
9393
return {
9494
appType: "custom",
95-
build: { assetsDir: "_build/assets" },
95+
build: { assetsDir: "_build/assets", outDir: ".solid-start/" },
9696
environments: {
9797
[VITE_ENVIRONMENTS.client]: {
9898
consumer: "client",
9999
build: {
100100
write: true,
101101
manifest: true,
102-
outDir: "dist/client",
102+
outDir: ".solid-start/client",
103103
rollupOptions: {
104104
input: clientInput,
105105
treeshake: true,
@@ -117,7 +117,7 @@ export function solidStart(options?: SolidStartOptions): Array<PluginOption> {
117117
rollupOptions: {
118118
input: "~/entry-server.tsx",
119119
},
120-
outDir: "dist/server",
120+
outDir: ".solid-start/server",
121121
commonjsOptions: {
122122
include: [/node_modules/],
123123
},

0 commit comments

Comments
 (0)