Make chunks named

This commit is contained in:
Tusooa Zhu 2022-09-20 23:13:07 -04:00
commit a758e18dce
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
4 changed files with 6 additions and 3 deletions

View file

@ -14,6 +14,7 @@ const hasLanguageFile = (code) => languages.includes(code)
const loadLanguageFile = (code) => {
return import(
/* webpackInclude: /\.json$/ */
/* webpackChunkName: "i18n/[request]" */
`./${langCodeToJsonName(code)}.json`
)
}