We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b34f4 commit 79ed4aeCopy full SHA for 79ed4ae
1 file changed
apps/sim/next.config.ts
@@ -1,3 +1,4 @@
1
+import path from 'node:path'
2
import type { NextConfig } from 'next'
3
import { env, isTruthy } from './lib/core/config/env'
4
import { isDev } from './lib/core/config/feature-flags'
@@ -92,6 +93,7 @@ const nextConfig: NextConfig = {
92
93
],
94
},
95
turbopack: {
96
+ root: path.join(__dirname, '../..'),
97
resolveAlias: {
98
// `dns/promises` has no browser shim. Server-only connector fetch logic
99
// (which imports `input-validation.server`) is statically reachable from
@@ -103,7 +105,7 @@ const nextConfig: NextConfig = {
103
105
104
106
107
experimental: {
- optimizeCss: true,
108
+ optimizeCss: !isDev,
109
preloadEntriesOnStart: false,
110
optimizePackageImports: [
111
'lodash',
0 commit comments