Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/webapp/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { withSerwist } from '@serwist/turbopack';
// eslint-disable-next-line import/no-extraneous-dependencies
import withBundleAnalyzerInit from '@next/bundle-analyzer';
import { readFileSync } from 'fs';
Expand Down Expand Up @@ -59,6 +58,8 @@ const nextConfig: NextConfig = {
},
experimental: {
turbopackFileSystemCacheForDev: false,
turbopackFileSystemCacheForBuild: true,
turbopackMemoryLimit: 4 * 1024 * 1024 * 1024,
},
...withBundleAnalyzer({
compiler: {
Expand Down Expand Up @@ -351,4 +352,4 @@ const nextConfig: NextConfig = {
}),
};

export default withSerwist(nextConfig);
export default nextConfig;
2 changes: 1 addition & 1 deletion packages/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev:oss:turbo": "NEXT_PUBLIC_API_URL=http://localhost:5000 NEXT_PUBLIC_DOMAIN=localhost next dev --turbopack -p 5002",
"dev:notls": "next dev -p 5002",
"dev:notls:turbo": "next dev --turbopack -p 5002",
"build": "next build --webpack",
"build": "timeout --kill-after=30s --signal=SIGINT 10m next build --turbopack --experimental-debug-memory-usage",
"build:turbo": "next build --turbopack",
"build:notls": "NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm run build",
"start": "next start",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading