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
I am trying to introduce Snowpack at my workplace, where we use several internal libraries, most of which are meant to be built alongside the actual app. Currently this is done by including their locations in the webpack configuration, but with snowpack I run into an issue where they aren't processed at all - for instance, any SVG imports in the UI library throw an error. I tried mounting them to /${libraryName}, but then several of their relative dependencies break; it would be optimal to have snowpack process select paths instead of blindly appending them. Is such a thing possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to introduce Snowpack at my workplace, where we use several internal libraries, most of which are meant to be built alongside the actual app. Currently this is done by including their locations in the webpack configuration, but with snowpack I run into an issue where they aren't processed at all - for instance, any SVG imports in the UI library throw an error. I tried mounting them to
/${libraryName}
, but then several of their relative dependencies break; it would be optimal to have snowpack process select paths instead of blindly appending them. Is such a thing possible?Beta Was this translation helpful? Give feedback.
All reactions