update the master branch to the latest
This commit is contained in:
parent
67d534df27
commit
23a0ba9831
611 changed files with 122648 additions and 0 deletions
8
build/locale.js
Normal file
8
build/locale.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const readDir = require('fs').readdirSync;
|
||||
const files = readDir('./src/locale/lang');
|
||||
const entry = {};
|
||||
files.forEach(file => {
|
||||
const name = file.split('.')[0];
|
||||
entry[name] = './src/locale/lang/' + file;
|
||||
});
|
||||
module.exports = entry;
|
Loading…
Add table
Add a link
Reference in a new issue