gatsby-plugin-intl
gatsby-plugin-intl copied to clipboard
Is it possible to generate independent separate builds for different locales?
This is not an issue but a question. It's the first time I am using Gatsby and this plugin gatsby-plugin-intl
. My site consists of only static pages and I am using the config to support two locales en
and ja
.
My requirement is to generate separate builds and host them on separate domains. For example ja.example.com
should serve the Japanese site and en.example.com
should serve the English site. Is it possible to tweak the build process of Gatsby to generate independent builds for both?
Like instead of public
directory, I want to generate two separate directories, public-en
and public-ja
and then use those builds for my deployment.