We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c518814 commit 938c265Copy full SHA for 938c265
docker-compose.apps.yml
@@ -36,7 +36,6 @@ services:
36
command:
37
- |
38
yarn install --immutable
39
- yarn workspace ol-components storybook --no-open &
40
yarn watch
41
ports:
42
- "8062:8062"
frontends/main/next.config.js
@@ -100,6 +100,19 @@ const nextConfig = {
100
env: {
101
FEATURE_FLAGS: JSON.stringify(processFeatureFlags()),
102
},
103
+
104
+ experimental: { webpackMemoryOptimizations: true },
105
106
+ webpack: (config, { dev }) => {
107
+ if (dev) {
108
+ config.cache = Object.freeze({
109
+ type: "filesystem",
110
+ allowCollectingMemory: true,
111
+ })
112
+ }
113
+ // Important: return the modified config
114
+ return config
115
+ },
116
}
117
118
// Injected content via Sentry wizard below
0 commit comments