update the master branch to the latest

This commit is contained in:
梁灏 2019-08-27 09:42:40 +08:00
parent 67d534df27
commit 23a0ba9831
611 changed files with 122648 additions and 0 deletions

8
build/locale.js Normal file
View 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;