warn if removing svelte
resolve override would break a package
#501
Labels
enhancement
New feature or request
svelte
resolve override would break a package
#501
Describe the problem
Right now the
svelte
field is resolved first. We should eventually remove this and defer to Vite which will resolveexports
firstDescribe the proposed solution
Add dependency on
@alloc/resolve.exports
to resolve the exports. If exports exist and resolve to different place thansvelte
field then warn.Alternatives considered
Discussed on Discord the the maintainers group and I think this is what we arrived at. I won't bother repeating the discussion
Importance
nice to have
The text was updated successfully, but these errors were encountered: