Skip to content

Commit

Permalink
Add cache to webpack (prevents building monaco once per architecture)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmunozv04 committed Jun 6, 2024
1 parent 28ba5a8 commit 032eb85
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/monaco-scripts/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ module.exports = {
},
performance: {
maxEntrypointSize: 5 * 1024 * 1024, // 5 MiB
maxAssetSize: 5 * 1024 * 1024 // 5 MiB
}
maxAssetSize: 5 * 1024 * 1024 // 5 MiB
},
cache: {
type: 'filesystem',
buildDependencies: {
config: [__filename],
},
},
};

0 comments on commit 032eb85

Please sign in to comment.