first commit

This commit is contained in:
编码猿
2024-09-27 00:57:27 +08:00
commit 18df0f5e4b
2548 changed files with 253280 additions and 0 deletions

8
iview/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;