なんかもうめっちゃ変えた
This commit is contained in:
parent
5c36423841
commit
d4fb399c95
21 changed files with 185 additions and 118 deletions
|
|
@ -8,7 +8,7 @@ import plugins from './plugins';
|
|||
import langs from '../locales';
|
||||
import version from '../src/version';
|
||||
|
||||
module.exports = Object.entries(langs).map(([lang, locale]) => {
|
||||
module.exports = Object.keys(langs).map(lang => {
|
||||
// Chunk name
|
||||
const name = lang;
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ module.exports = Object.entries(langs).map(([lang, locale]) => {
|
|||
return {
|
||||
name,
|
||||
entry,
|
||||
module: module_(lang, locale),
|
||||
module: module_(lang),
|
||||
plugins: plugins(version, lang),
|
||||
output,
|
||||
resolve: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue