Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Mar 11, 2021
1 parent 01dc6a4 commit 965dd6e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
4 changes: 0 additions & 4 deletions depend.ts

This file was deleted.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gulp.task('build_style', function () {
})

gulp.task('build_commonjs', function () {
return gulp.src(['depend.ts', 'index.ts'])
return gulp.src(['index.ts'])
.pipe(sourcemaps.init())
.pipe(ts(tsconfig.compilerOptions))
.pipe(babel({
Expand All @@ -46,7 +46,7 @@ gulp.task('build_commonjs', function () {
})

gulp.task('build_umd', function () {
return gulp.src(['depend.ts', 'index.ts'])
return gulp.src(['index.ts'])
.pipe(ts(tsconfig.compilerOptions))
.pipe(replace(`from 'xe-utils/ctor';`, `from 'xe-utils';`))
.pipe(replace(`from 'vxe-table/lib/vxe-table';`, `from 'vxe-table';`))
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import XEUtils from 'xe-utils/ctor'
import XEUtils from 'xe-utils'
import {
VXETableCore,
VxeTableDefines,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"prettier": "^2.1.2",
"typescript": "^4.0.5",
"vue": "^3.0.6",
"vxe-table": "^4.0.0",
"vxe-table": "^4.0.1",
"xe-utils": "^3.1.11"
},
"peerDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"files": [
"index.ts",
"depend.ts"
"index.ts"
],
"compilerOptions": {
"strict": true,
Expand Down

0 comments on commit 965dd6e

Please sign in to comment.