File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ services:
36
36
command :
37
37
- |
38
38
yarn install --immutable
39
- yarn workspace ol-components storybook --no-open &
40
39
yarn watch
41
40
ports :
42
41
- " 8062:8062"
Original file line number Diff line number Diff line change @@ -100,6 +100,19 @@ const nextConfig = {
100
100
env : {
101
101
FEATURE_FLAGS : JSON . stringify ( processFeatureFlags ( ) ) ,
102
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
+ } ,
103
116
}
104
117
105
118
// Injected content via Sentry wizard below
You can’t perform that action at this time.
0 commit comments