Update to Monaco 0.40.0 (#5287)

Also hopefully fixes the issue where when we bump monaco versions we get
build errors.
This commit is contained in:
Matt Godbolt
2023-07-25 22:35:47 -05:00
committed by GitHub
parent fdea51fc80
commit 488eeb600b
3 changed files with 16 additions and 11 deletions

View File

@@ -115,7 +115,12 @@ export default {
cache: {
type: 'filesystem',
buildDependencies: {
config: [fileURLToPath(import.meta.url)],
config: [
fileURLToPath(import.meta.url),
// Depend on the package.json to force a recache if something changes:
// this is only because something in Monaco upsets the cache if its version changes
path.resolve(__dirname, 'package.json'),
],
},
},
resolve: {