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 do not think we should be using bare imports (except three) unless we are publishing it to a separate NPM package. Bundlers cannot resolve three-nodes without custom resolution configuration, and we're seeing confusion about this in Discord. By contrast, anything under the three import is fine if we configure it in package.json exports:
Related:
With r138 the following syntax was introduced:
I do not think we should be using bare imports (except
three
) unless we are publishing it to a separate NPM package. Bundlers cannot resolvethree-nodes
without custom resolution configuration, and we're seeing confusion about this in Discord. By contrast, anything under thethree
import is fine if we configure it in package.json exports:/cc @sunag
The text was updated successfully, but these errors were encountered: