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
When building a Vue component with Rollup, the error HandyCollapse is not a constructor is thrown in the browser.
It works though when called like this: new HandyCollapse.default(). After some digging, the problem is fixed if the module is built with webpack configuration below.
When building a Vue component with Rollup, the error
HandyCollapse is not a constructor
is thrown in the browser.It works though when called like this:
new HandyCollapse.default()
. After some digging, the problem is fixed if the module is built with webpack configuration below.Thought we'd share for anyone running into the same issue.
The text was updated successfully, but these errors were encountered: