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
assuming that my baseUrl is set to src, it can be either:
bare import resolving to ./src/shared.js or ./src/shared/index.js
a node shared package/module from node_modules
which one takes precedence? Is there a way to explicitly specify package import or bare import? (without falling back to relative paths)
the possibility of such conflicts and no obvious way to resolve them is i think the main reason bare imports are not supported by default by vite or other bundlers, so if this plugin attempts to address this, i think it's worth documenting the approach taken
The text was updated successfully, but these errors were encountered:
what happens if I do
assuming that my
baseUrl
is set tosrc
, it can be either:./src/shared.js
or./src/shared/index.js
shared
package/module fromnode_modules
which one takes precedence? Is there a way to explicitly specify package import or bare import? (without falling back to relative paths)
the possibility of such conflicts and no obvious way to resolve them is i think the main reason bare imports are not supported by default by vite or other bundlers, so if this plugin attempts to address this, i think it's worth documenting the approach taken
The text was updated successfully, but these errors were encountered: