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
However, the browserify output results in an empty export:
import{install}from'@sinonjs/fake-timers';// ERRORSimport*astimersfrom'@sinonjs/fake-timers';// this is how it should be but is {} at the minuteimportfakeTimersfrom'@sinonjs/fake-timers';// ERRORS, no default exporttimers.install;// DOESNT EXIST
the problem here seems to be that "module" in package.json should point at an ES module, but clearly doesn't. it instead points at a browserify bundle.. which is rather dated and will not work as expected in bundlers which interpret the "module" field.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When used as an es module via the "module" property and a bundler, we get no exports.
The sources, and the commonjs output are individual exports, such as:
However, the browserify output results in an empty export:
the problem here seems to be that
"module"
in package.json should point at an ES module, but clearly doesn't. it instead points at a browserify bundle.. which is rather dated and will not work as expected in bundlers which interpret the"module"
field.The text was updated successfully, but these errors were encountered: