-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Description
After update webpack from 5.99.9 to 5.101.0
the following error occurs when using code splitting
Uncaught SyntaxError: The requested module 'GeneratedResources/JavaScript/shared.js' doesn't provide an export named: 'default'
(if i switch back, the error disapears)
export default __webpack_require__;
is missing in the build file.
entry: {
MyModule: {
...
dependOn: 'shared'
},
shared: '@mui/x-data-grid-pro'
},
experiments: { outputModule: true }
output: {
filename: [Function: filename],
library: { type: 'module' },
path: 'GeneratedResources'
},
Metadata
Metadata
Assignees
Labels
No labels