This issue appears during the build, when a relative i18n bundle with a path starting with ../ is required from a module outside a package (like main).
In this case requirejs cannot normalize the path so the i18n build is called with the leading ../. Since the require in i18n/build/ is a locale require, this ../ is normalized against requirejs-dplugins/i18n instead of baseUrl.
The fix is to switch to the global require in i18n/build
This issue appears during the build, when a relative i18n bundle with a path starting with
../
is required from a module outside a package (likemain
).In this case requirejs cannot normalize the path so the i18n build is called with the leading
../
. Since the require in i18n/build/ is a locale require, this../
is normalized againstrequirejs-dplugins/i18n
instead ofbaseUrl
.The fix is to switch to the global require in
i18n/build