-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I am getting the following error when attempting to dynamically load within a babel compiled component:
TypeError: require.resolveWeak is not a function
The compiled contents looks like so:
var AuthMenu = (0, _dynamic.default)(function () {
return _promise.default.resolve().then(function () {
return (0, _interopRequireWildcard2.default)(require("@connect/web-auth/lib/container/AuthMenu/AuthMenu"));
});
}, {
loadableGenerated: {
webpack: function webpack() {
return [require.resolveWeak("@connect/web-auth/lib/container/AuthMenu/AuthMenu")];
},
modules: ["@connect/web-auth/lib/container/AuthMenu/AuthMenu"]
}
});I am wondering if this package supports this scenario?
JoaoFGuiomar, sanjitbauli, aychung, fmedinac, vgribdev and 3 more
Metadata
Metadata
Assignees
Labels
No labels