Skip to content

Commit

Permalink
changed build destination to build instead of .next
Browse files Browse the repository at this point in the history
  • Loading branch information
catosaurusrex2003 committed Sep 24, 2024
1 parent 9720d90 commit edd81c1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
1 change: 1 addition & 0 deletions apps/studio/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# next.js
/.next/
/out/
/build/

# misc
.DS_Store
Expand Down
3 changes: 2 additions & 1 deletion apps/studio/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const nextConfig = {

return config;
},
output: 'standalone'
output: 'standalone',
distDir: 'build'
};

module.exports = nextConfig;
23 changes: 19 additions & 4 deletions apps/studio/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -20,9 +24,20 @@
}
],
"paths": {
"@/*": ["./src/*", "./public/*"]
"@/*": [
"./src/*",
"./public/*"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"build/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}

0 comments on commit edd81c1

Please sign in to comment.