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 da698aa commit 494da6f
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 @@ -12,7 +12,7 @@ const tsconfig = require('./tsconfig.json')
const exportModuleName = 'VXETablePluginExportPDF'

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 @@ -27,7 +27,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,4 +1,4 @@
import XEUtils from 'xe-utils/ctor'
import XEUtils from 'xe-utils'
import {
VXETableCore,
VxeTableConstructor,
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 494da6f

Please sign in to comment.