mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 20:05:06 +03:00
retry
This commit is contained in:
2 files changed
+9
-2
No files matched your search
@@ -600,6 +600,13 @@ const nextConfig = {
|
||||
},
|
||||
},
|
||||
},
|
||||
webpack: (config, { dev }) => {
|
||||
// Lower webpack graph parallelism in production to reduce peak heap usage on CI builders.
|
||||
if (!dev) {
|
||||
config.parallelism = 20
|
||||
}
|
||||
return config
|
||||
},
|
||||
onDemandEntries: {
|
||||
maxInactiveAge: 24 * 60 * 60 * 1000,
|
||||
pagesBufferLength: 100,
|
||||
@@ -609,7 +616,7 @@ const nextConfig = {
|
||||
// Make sure adding Sentry options is the last code to run before exporting, to
|
||||
// ensure that your source maps include changes from all other Webpack plugins
|
||||
module.exports =
|
||||
process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.DISABLE_SENTRY_BUILD !== 'true'
|
||||
process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.ENABLE_SENTRY_BUILD === 'true'
|
||||
? withSentryConfig(withBundleAnalyzer(nextConfig), {
|
||||
silent: true,
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"dev": "next dev -p ${STUDIO_PORT:-8082}",
|
||||
"build": "NODE_OPTIONS=\"${NODE_OPTIONS:---max-old-space-size=8192}\" next build --webpack && if [ \"$SKIP_ASSET_UPLOAD\" != \"1\" ]; then ./../../scripts/upload-static-assets.sh; fi",
|
||||
"build": "NODE_OPTIONS=\"${NODE_OPTIONS:---max-old-space-size=12288}\" next build --webpack && if [ \"$SKIP_ASSET_UPLOAD\" != \"1\" ]; then ./../../scripts/upload-static-assets.sh; fi",
|
||||
"start": "next start -p 8082",
|
||||
"lint": "eslint .",
|
||||
"lint:ratchet": "tsx scripts/ratchet-eslint-rules.ts --rule react-hooks/exhaustive-deps --rule import/no-anonymous-default-export --rule @tanstack/query/exhaustive-deps --rule @typescript-eslint/no-explicit-any --rule no-restricted-imports --rule no-restricted-exports --rule react/no-unstable-nested-components",
|
||||
|
||||
Reference in new issue
Block a user