diff --git a/apps/studio/.gitignore b/apps/studio/.gitignore index 4c47dd76c..90555ecd5 100644 --- a/apps/studio/.gitignore +++ b/apps/studio/.gitignore @@ -10,6 +10,7 @@ # next.js /.next/ /out/ +/build/ # misc .DS_Store diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js index 98127516e..65c72902f 100644 --- a/apps/studio/next.config.js +++ b/apps/studio/next.config.js @@ -36,7 +36,8 @@ const nextConfig = { return config; }, - output: 'standalone' + output: 'standalone', + distDir: 'build' }; module.exports = nextConfig; diff --git a/apps/studio/tsconfig.json b/apps/studio/tsconfig.json index 2b67be7f7..119082b0b 100644 --- a/apps/studio/tsconfig.json +++ b/apps/studio/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -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" + ] }