Make chunks named
This commit is contained in:
parent
6fab7b9e3f
commit
a758e18dce
4 changed files with 6 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ const hasLanguageFile = (code) => languages.includes(code)
|
|||
const loadLanguageFile = (code) => {
|
||||
return import(
|
||||
/* webpackInclude: /\.json$/ */
|
||||
/* webpackChunkName: "i18n/[request]" */
|
||||
`./${langCodeToJsonName(code)}.json`
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue