We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi to all. I have 50 pug files in my src folder and two locale files: en.json and sk.json. For example en.json stores all strings for all pug files.
During compilation console output says
[12:37:34] Loading locale en [12:37:34] Reading translation data: locales/en.json [12:37:35] Loading locale en [12:37:35] Reading translation data: locales/en.json [12:37:36] Loading locale en [12:37:36] Reading translation data: locales/en.json . . . . . so it loads en.json for each .pug file.
Is there a way how to load en.json only once?
thank you
The text was updated successfully, but these errors were encountered:
Hi @Kubiskoi at the moment there is no a way with the options to load only the file once. The gulp plugin should be modified in order to do that.
Sorry, something went wrong.
felixzapata
No branches or pull requests
Hi to all.
I have 50 pug files in my src folder and two locale files: en.json and sk.json. For example en.json stores all strings for all pug files.
During compilation console output says
[12:37:34] Loading locale en
[12:37:34] Reading translation data: locales/en.json
[12:37:35] Loading locale en
[12:37:35] Reading translation data: locales/en.json
[12:37:36] Loading locale en
[12:37:36] Reading translation data: locales/en.json
.
.
.
.
.
so it loads en.json for each .pug file.
Is there a way how to load en.json only once?
thank you
The text was updated successfully, but these errors were encountered: