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
Paraglide's wildcard import import * as m is tree-shakable and leads to autocomplete once the wildcard import exists at the top of the file. But, VScode doesn't auto create the import when typing m.
Users are using workarounds to get auto-imports working #151. Apparently, tree-shaking is uneffected.
Proposal
Implement (and default) to import { m } from "./messages.js" if the workaround is tree-shakable for Paraglide V2.
The text was updated successfully, but these errors were encountered:
Context
Paraglide lacks auto-imports of messages.
Paraglide's wildcard import
import * as m
is tree-shakable and leads to autocomplete once the wildcard import exists at the top of the file. But, VScode doesn't auto create the import when typingm
.Users are using workarounds to get auto-imports working #151. Apparently, tree-shaking is uneffected.
Proposal
Implement (and default) to
import { m } from "./messages.js"
if the workaround is tree-shakable for Paraglide V2.The text was updated successfully, but these errors were encountered: