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
fix: resolve dynamic import aliases in template literals
Fixes#520
Previously, Webpack failed to resolve Nuxt aliases (e.g., `~`, `@`) within dynamic `import()` statements that used template literals (e.g., `~/components/${component}.vue`).
This commit introduces the use of Webpack's `NormalModuleReplacementPlugin` to intercept and correctly resolve these aliased paths before Webpack processes them, ensuring proper module resolution during the build process.
0 commit comments