rollup / plugins

🍣 The one-stop shop for official Rollup plugins
MIT License
3.57k stars 568 forks source link

The node-resolve plugin seems to break Vue when the Vue app imports a lib and consumes a native web components. #1683

Closed jrgleason closed 4 months ago

jrgleason commented 4 months ago

Expected Behavior

I would like to generate component libraries using rollup and MUI. To do this I need to use the node-resolve plugin. However, when I try to import the components created by rollup and the plugin I get an error (see the Vue issue). If I remove the plugin everything seems to work but that requires me also removing MUI.

Actual Behavior

I would like to be able to use web components generated using rollup and node-resolve in a vue project

Additional Information

I think the easiest thing to do here is reference the Vue issue. There is a link to the github repo for the example project and an explination in there. Let me know if you want me to add or duplicate additional information to this post.