Skip to content

Commit

Permalink
releases 4.6.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed May 16, 2024
1 parent 91c8cf2 commit 264630d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const tsconfig = require('./tsconfig.json')

const sass = gulpSass(dartSass)

const tsSettings = {
...tsconfig.compilerOptions,
target: 'es2016'
}

const coreName = 'v-x-e-table'

const moduleList = [
Expand Down Expand Up @@ -98,7 +103,7 @@ gulp.task('build_modules', () => {
return gulp.src('packages_temp/**/*.ts')
.pipe(replace('process.env.VUE_APP_VXE_TABLE_VERSION', `"${pack.version}"`))
.pipe(replace('process.env.VUE_APP_VXE_TABLE_ENV', 'process.env.NODE_ENV'))
.pipe(ts(tsconfig.compilerOptions))
.pipe(ts(tsSettings))
.pipe(gulp.dest('es'))
.pipe(babel({
presets: [
Expand All @@ -124,7 +129,7 @@ gulp.task('build_i18n', () => {
const name = XEUtils.camelCase(code).replace(/^[a-z]/, firstChat => firstChat.toUpperCase())
const isZHTC = ['zh-HK', 'zh-MO', 'zh-TW'].includes(code)
return gulp.src(`packages_temp/locale/lang/${isZHTC ? 'zh-TC' : code}.ts`)
.pipe(ts(tsconfig.compilerOptions))
.pipe(ts(tsSettings))
.pipe(babel({
moduleId: `vxe-table-lang.${code}`,
presets: ['@babel/env'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "4.6.13-beta.3",
"version": "4.6.13",
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印导出、自定义模板、渲染器、JSON 配置式...",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down

0 comments on commit 264630d

Please sign in to comment.