polyglot
polyglot copied to clipboard
Assets folder is copied to another language folders.
When we use polyglot, if you set as "exclude_from_localizations: ["assets"]", but the asset folder also copy in the folder for another language. (I'm setting "ja" as main lang and "en" as sub)
/assets
/js /css /img
/en
/assets
/js /css /img
I noticed that the href tag code is not change to language specific (/assets/img/xxx.png) but files and folders always copied to the under the "en" folder. The folder can be removed before the deployment but its more convenient where no copy. In addition, robots.txt and sitemap.xml also copy to the under the "en" folder. It also convenient if there no copy. Could you tell me, if there are another way to do this? Probably there are no plug-in that can remove specific folders and files after the build.