Просмотр исходного кода

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

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

GitOrigin-RevId: 80baedefb220b7685e3d013e33c632fa2f8c3db1
Alf Eaton 2 лет назад
Родитель
Сommit
4efbc40f71
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/webpack.config.js

+ 1 - 1
services/web/webpack.config.js

@@ -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',