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
Is your feature request related to a problem? Please describe.
Svelte expects using the svelte field in package.json for component libraries
Describe the solution you'd like
Expose mainFields in config, so that plugins are able to use it too. Perhaps it would be best if the entire resolver config is exposed?
Describe alternatives you've considered
User importing component libraries by path instead of relying on the fields on package.json
Are there any notes about how config.createResolver is supposed to work? I know it's internal, but I tried this and it seemed to match just about anything.
Is your feature request related to a problem? Please describe.
Svelte expects using the
svelte
field inpackage.json
for component librariesDescribe the solution you'd like
Expose
mainFields
in config, so that plugins are able to use it too. Perhaps it would be best if the entire resolver config is exposed?Describe alternatives you've considered
User importing component libraries by path instead of relying on the fields on
package.json
Additional context
config.createResolver
is supposed to work? I know it's internal, but I tried this and it seemed to match just about anything.The text was updated successfully, but these errors were encountered: