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
Hey, so perhaps this is an issue with my rollup configuration but I thought this would be the best place to post. After upgrading to react 18, the resulting bundled file is looking for a /utils/ directory, which is part of the un-bundled react-draggable module. I'm not seeing a clear way to get the contents of utils to properly bundle as they naturally did in react 17.
Before the upgrade the resulting bundle index.js (react 17)
var _positionFns = positionFns;
var _shims = shims;
var _DraggableCore = _interopRequireDefault(DraggableCore);
var _log = _interopRequireDefault(log);
After the upgrade the resulting bundle index.js (react 18)
var _positionFns = require("./utils/positionFns");
var _shims = require("./utils/shims");
var _DraggableCore = _interopRequireDefault(require("./DraggableCore"));
var _log = _interopRequireDefault(require("./utils/log"));
The text was updated successfully, but these errors were encountered:
Hey, so perhaps this is an issue with my rollup configuration but I thought this would be the best place to post. After upgrading to react 18, the resulting bundled file is looking for a
/utils/
directory, which is part of the un-bundled react-draggable module. I'm not seeing a clear way to get the contents of utils to properly bundle as they naturally did in react 17.Before the upgrade the resulting bundle index.js (react 17)
After the upgrade the resulting bundle index.js (react 18)
The text was updated successfully, but these errors were encountered: