mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user