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
So what I understand for now is to include a <script src="build/vendor.js"></script> alongside with all needed 3rd party libraries.
I was briefly thinking of a utility item in the stencil.config.js like vendor: true, that will automatically strip out all imports coming from node_modules (except @stencil/**), tree-shake them and pack it into a vendor.js.
I'm too fresh into stencil to know if that's the way stencil should go in the future.
Description of Problem
When using 3rd party dependencies in components, the dev server occasionally cannot build 3rd party dependencies
Expected Behavior
Rebuild is successful
Actual Result
On every other save, the rebuild fails, resulting in a "Cannot find module '' error."
Refer to example to reproduce issue
The text was updated successfully, but these errors were encountered: