Skip to content

Commit

Permalink
fix: prettify app.config
Browse files Browse the repository at this point in the history
  • Loading branch information
OrJDev committed Mar 13, 2024
1 parent aee3a7a commit a11abd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-planes-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-jd-app": patch
---

fix: prettify app.config
10 changes: 5 additions & 5 deletions src/helpers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ export const getAppConfig: IUtil = (ctx) => {
return `import { defineConfig } from '@solidjs/start/config'
export default defineConfig({
ssr: true,${usePrisma ? `\n ssr: { external: ["@prisma/client"] },` : ""}${
ssr: true,${usePrisma ? `\n ssr: { external: ["@prisma/client"] },` : ""}${
ctx.vercel
? `\n server: {
preset: 'vercel',
},`
? `\n server: {
preset: 'vercel',
},`
: ""
}
})
});
`;
};

Expand Down

0 comments on commit a11abd0

Please sign in to comment.