Merge pull request #16592 from overleaf/ae-uppy-babel

Add `@uppy` packages to webpack config for Babel processing

GitOrigin-RevId: 80baedefb220b7685e3d013e33c632fa2f8c3db1
This commit is contained in:
Alf Eaton 2024-01-18 16:04:08 +00:00 committed by Copybot
parent 48b42f2b77
commit 4efbc40f71

View file

@ -123,7 +123,7 @@ module.exports = {
test: /\.([jt]sx?|[cm]js)$/,
// Only compile application files and specific dependencies
// (other npm and vendored dependencies must be in ES5 already)
exclude: [/node_modules\/(?!(react-dnd|chart\.js)\/)/, vendorDir],
exclude: [/node_modules\/(?!(react-dnd|chart\.js|@uppy)\/)/, vendorDir],
use: [
{
loader: 'babel-loader',