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
Can you please provide a reproduciable example because I've got it working without any issues here using the latest version: https://jsfiddle.net/cr0dez8q/
The presense of exports object, unfortunately, confuses it.
In this instance I could just reverse the order in which scripts are loaded, but regardless, cluttering the global exports var is definitely not a good thing.
Activity
Script47 commentedon Jan 16, 2022
@mila76
Can you please provide a reproduciable example because I've got it working without any issues here using the latest version: https://jsfiddle.net/cr0dez8q/
mila76 commentedon Jan 16, 2022
https://jsfiddle.net/o37kyac2/
pasted another library (tingle js)
You can see the error in browser console
I think the problem is exports = {} in your library (webpack doing i assume)
nirvana-msu commentedon Jul 5, 2022
Same issue when mixing this e.g. with nprogress.
It is fairly common to see code like this:
The presense of
exportsobject, unfortunately, confuses it.In this instance I could just reverse the order in which scripts are loaded, but regardless, cluttering the global
exportsvar is definitely not a good thing.btraas commentedon Nov 4, 2022
Same issue when including dist/js in a script tag along with with Pace.js
CodeByZach/pace#541