Commit aaf900f3194ce8593a011fbd7562f2030cc00cdd
1 parent
0813a64c
update locale packaging config
Showing
2 changed files
with
10 additions
and
13 deletions
Show diff stats
build/webpack.dist.locale.config.js
1 | 1 | var path = require('path'); |
2 | 2 | var webpack = require('webpack'); |
3 | - | |
3 | +var entry = require('./locale'); | |
4 | 4 | process.env.NODE_ENV = 'production'; |
5 | 5 | |
6 | 6 | module.exports = { |
7 | - entry: { | |
8 | - 'de-DE': './src/locale/lang/de-DE.js', | |
9 | - 'en-US': './src/locale/lang/en-US.js', | |
10 | - 'es-ES': './src/locale/lang/de-DE.js', | |
11 | - 'fr-FR': './src/locale/lang/zh-CN.js', | |
12 | - 'ja-JP': './src/locale/lang/zh-CN.js', | |
13 | - 'pt-BR': './src/locale/lang/zh-CN.js', | |
14 | - 'ru-RU': './src/locale/lang/zh-CN.js', | |
15 | - 'tr-TR': './src/locale/lang/tr-TR.js', | |
16 | - 'zh-CN': './src/locale/lang/zh-CN.js', | |
17 | - 'zh-TW': './src/locale/lang/zh-TW.js' | |
18 | - }, | |
7 | + entry, | |
19 | 8 | module: { |
20 | 9 | rules: [ |
21 | 10 | { | ... | ... |