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:
3636 command :
3737 - |
3838 yarn install --immutable
39- yarn workspace ol-components storybook --no-open &
4039 yarn watch
4140 ports :
4241 - " 8062:8062"
Original file line number Diff line number Diff line change @@ -100,6 +100,19 @@ const nextConfig = {
100100 env : {
101101 FEATURE_FLAGS : JSON . stringify ( processFeatureFlags ( ) ) ,
102102 } ,
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+ } ,
103116}
104117
105118// Injected content via Sentry wizard below
You can’t perform that action at this time.
0 commit comments