Closed jaysson closed 8 months ago
Hey @jaysson! 👋🏻
Thanks for the feedback! It should have been automatically added to the metaFiles
key in the adonisrc.ts
file.
In the meanwhile, you can add them by hand:
{
metaFiles: [
// ...
{
pattern: 'resources/lang/**/*.json',
reloadServer: false
}
]
}
That was quick! Awesome job @RomainLanz!
Package version
2.0.0
Describe the bug
Installed and configured i18n.
Created language file
resources/lang/en/crud.json
and used it. Everything works fine while running in dev mode.When I build the app using
npm run build
, it does not copy theresources/lang
folder tobuild
. Note that I am not using edge views, soresources
only haslang
folder.I am copying it separately after build for now.
Reproduction repo
No response