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
Implement rule discussed in #3164
Biome already has noNamespaceImport but that rule is likely too restrictive for general use. Instead this new rule proposes disallowing only dynamic access on namespaced imports, because if bundler can't determine what import to use at compile time it must include whole namespace, potentially increasing bundle size by a lot.
import*asmfrom'./messages'constdynamicKey='key'm[key]// whole messages namespace must be included.
As far as I know this is unique rule.
The text was updated successfully, but these errors were encountered:
Description
Implement rule discussed in #3164
Biome already has noNamespaceImport but that rule is likely too restrictive for general use. Instead this new rule proposes disallowing only dynamic access on namespaced imports, because if bundler can't determine what import to use at compile time it must include whole namespace, potentially increasing bundle size by a lot.
As far as I know this is unique rule.
The text was updated successfully, but these errors were encountered: