Webpack cannot resolve i18n.config and lazy translations #2115
Labels
bug 🐛
bundler
❗ p4-important
Priority 4: bugs that violate documented behavior, or significantly impact perf
PR Welcome
v8
Environment
Darwin
v16.16.0
3.5.1
2.4.1
npm@8.11.0
webpack
builder
,modules
,i18n
@nuxtjs/i18n@8.0.0-beta.12
-
Reproduction
https://stackblitz.com/edit/nuxt-starter-bk1a9i?file=nuxt.config.ts
Describe the bug
@nuxtjs/i18n module requires i18n.config file, when I use Vite as a builder everything works, but I need to use Webpack. When I tried to build nuxt3 project I got error caused by the inability to resolve the path to the required config file. Same problem I got when I trying to add lazy translations. Webpack cannot resolve them.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: