Closed johns-abraham-borngroup closed 11 months ago
Hi there,
does anyone have an idea how to fix this? I also tried it with a slightly older version (1.2.6) but with the same error.
Is it maybe a problem using this lib not the "old school" way via loading the js-lib directly by a script tag but using the modern (ES6) way by using import?
Just asking...
Kind regards, Dennis
Same problem for me using webpack@5.65.0
Unfortunately I had to install an older version -1.2.4 - which works perfectly fine. More recent versions before 1.2.8 might work as well, not sure. I'm using the aforementioned release just because I used it in another project and I was sure it worked.
Do you have a repo that reproduces this? I haven't seen it.
If anyone has a repository that can reproduce this bug, please let me know.
Hi All,
Getting some warnings with latest version (1.2.8) like below (not pasted the entire error)
Is this related to any configurational problems? How to solve this?
WARNING in ./node_modules/scrollmonitor/dist/index.js 24:20-27 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ... WARNING in ./node_modules/scrollmonitor/dist/src/constants.js 5:20-27 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ...
Thanks, Johns