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

production build with angular cli (uglify) results in `undefined` error

vmasek opened this issue · comments

In latest version (1.4.5) there is a strange error

ERROR in main.8781be3b4db6003c3f60.js from UglifyJs
undefined

we tracked it to the tether, it is probably related to tree-shaking rollup/rollup/issues/1289

Hotfix

lower the version from 1.4.5 to 1.4.4


angular-cli reference for better tracking of progress
angular/angular-cli/issues/12506

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

I believe this should be fixed in the latest beta, so I am going to close for now. If anyone is still experiencing issues, please let us know!