Is there a way to stop copying build js files to each i18n locale #10943
Replies: 1 comment 1 reply
-
Oh, sorry I just realized the JavaScript files actually contain i18n translation contents of my documents. So I guess this is the way it is. Closing the ticket... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a large documantation site right now, considering 9 more different locales and we are planning to add many more in the near future. Currently we are hitting the Cloudflare pages hard limit of file quantities (20k files).
We've tried many approaches to optimize our code and trying to reduce duplications between i18n locales. Currently one of the biggest concerns is that we've found in the
build/assets/js
folder, there are more than 1000 minified JavaScript files. And this assets folder is copied to each i18n locale, even though they are 100% identical.Is there a way to stop doing this? This would save us 8000+ rooms for more doc files. Any help would be appreciated!
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions