You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle.js file still includes arrow function like external_react_dom_x = y => { var x = {}; __webpack_require__.d(x, y); return x; } var external_react_dom_y = x => () => x // from getSourceForModuleExternal or generateModuleRemapping
I need to provide a component to another project, but that project uses tools like 'es-check' which do not allow arrow functions.
Is there any method that could help me transform these hardcoded arrow functions into normal functions?
The text was updated successfully, but these errors were encountered:
webpack version :5.89.0
libraryTarget: module
fileName: bundle.js
externals: react, react-dom
babel settings:@babel/preset-env @babel/preset-react
bundle.js file still includes arrow function like
external_react_dom_x = y => { var x = {}; __webpack_require__.d(x, y); return x; } var external_react_dom_y = x => () => x // from getSourceForModuleExternal or generateModuleRemapping
I need to provide a component to another project, but that project uses tools like 'es-check' which do not allow arrow functions.
Is there any method that could help me transform these hardcoded arrow functions into normal functions?
The text was updated successfully, but these errors were encountered: