Handle react-resizable-panels with babel-loader (#20305)

GitOrigin-RevId: e4a5e5eb06323248e9fb58ee8bc4c94c4e63737e
This commit is contained in:
Alf Eaton 2024-09-05 14:04:01 +01:00 committed by Copybot
parent 707790e51e
commit aaf747c329

View file

@ -126,7 +126,7 @@ module.exports = {
// Only compile application files and specific dependencies
// (other npm and vendored dependencies must be in ES5 already)
exclude: [
/node_modules\/(?!(react-dnd|chart\.js|@uppy|pdfjs-dist401)\/)/,
/node_modules\/(?!(react-dnd|chart\.js|@uppy|pdfjs-dist401|react-resizable-panels)\/)/,
vendorDir,
],
use: [