Explorar o código

Merge pull request #3593 from overleaf/as-transpile-react-dnd

Fix react-dnd crashing the editor on IE11

GitOrigin-RevId: 2ab3725ef03a105de551dbc4a5b51538d03be2df
Miguel Serrano %!s(int64=5) %!d(string=hai) anos
pai
achega
8a6136efa7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/webpack.config.js

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

@@ -59,7 +59,7 @@ module.exports = {
         // Only compile application files (npm and vendored dependencies are in
         // ES5 already)
         exclude: [
-          /node_modules/,
+          /node_modules\/(?!react-dnd\/)/,
           path.resolve(__dirname, 'frontend/js/vendor')
         ],
         use: [