Hi!
On the last published version on npm (1.5.0), the main entry from package.json points to src/index.js instead of dist/vue-smooth-scroll.min.js. So it breaks on nodejs as it's not compiled to UMD.
I see on github it points to the right file so I guess it's a mistake when the version has been deployed? :)
Hi! On the last published version on npm (1.5.0), the
main
entry from package.json points tosrc/index.js
instead ofdist/vue-smooth-scroll.min.js
. So it breaks on nodejs as it's not compiled to UMD.I see on github it points to the right file so I guess it's a mistake when the version has been deployed? :)
(Check here: https://unpkg.com/vue2-smooth-scroll@1.5.0/package.json)