Merge pull request #15957 from overleaf/jpa-invalidate-babel-cache

[web] after changing settings invalidate babel cache on webpack startup

GitOrigin-RevId: 3d83c56d119bcbbd91ea71b0a85ad8e0a767b679
This commit is contained in:
Eric Mc Sween
2024-01-05 09:03:17 +00:00
committed by Copybot
parent d2f64811b5
commit 4a8a811cc1
4 changed files with 39 additions and 0 deletions
+4
View File
@@ -9,6 +9,10 @@ const {
} = require('./webpack-plugins/lezer-grammar-compiler')
const PackageVersions = require('./app/src/infrastructure/PackageVersions')
const invalidateBabelCacheIfNeeded = require('./frontend/macros/invalidate-babel-cache-if-needed')
// Make sure that babel-macros are re-evaluated after changing the modules config
invalidateBabelCacheIfNeeded()
// Generate a hash of entry points, including modules
const entryPoints = {