feat: 时间选择器本地 支持时区

This commit is contained in:
zhangyu
2021-06-18 14:35:29 +08:00
parent 50e1d8f04b
commit 359d88a5b9
46 changed files with 6228 additions and 5 deletions

16
build/build.comps.js Normal file
View File

@@ -0,0 +1,16 @@
/* eslint-disable */
// name came from the terminal as `./packages/*` notation, so when resolve the name, we'd like
// to add a `..` to do so. because the current file is under `build/`, `packages/` is at the
// same level as `build/`,
const run = require('./build');
const compPath = process.argv[2]
if (!compPath) {
console.error('Usage: node build.js [component]')
process.exit(1)
}
const outPutPrefix = ['hooks', 'directives'].some((p) => compPath.includes(p)) ? '' : 'el-';
const compName = compPath.split('/').pop()
run(`${outPutPrefix}${compName}/index.js`, compPath)