shipshapecode / tether

A positioning engine to make overlays, tooltips and dropdowns better

Home Page:https://tetherjs.dev/docs/welcome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not compile with parcel-bundler

pke opened this issue · comments

When using this library (through reactstrap) with parcel-bundler it throws this error:

...\node_modules\reactstrap-tether\dist\js\tether.js:549:21: Cannot resolve dependency './utils' at '...\node_modules\reactstrap-tether\dist\js\utils'

Seems like the generated dist package is incorrect.

@pke I believe this should be fixed now. Could you try 2.0.0-beta.2?

Thanks for looking into this. I currently don't remember in which project I used tether but I'll try to reproduce.

Seems to work, but could also been because of parcel itself being a new version than 1 1/2 year ago. I am going to close this.