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-19 09:05:40 +00:00
committed by Copybot
parent 48b42f2b77
commit 4efbc40f71
+1 -1
View File
@@ -123,7 +123,7 @@ module.exports = {
test: /\.([jt]sx?|[cm]js)$/, test: /\.([jt]sx?|[cm]js)$/,
// Only compile application files and specific dependencies // Only compile application files and specific dependencies
// (other npm and vendored dependencies must be in ES5 already) // (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: [ use: [
{ {
loader: 'babel-loader', loader: 'babel-loader',