mirror of
https://gitee.com/x-extends/vxe-table-plugin-export-xlsx.git
synced 2026-01-21 05:21:33 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@ const tsconfig = require('./tsconfig.json')
|
||||
const exportModuleName = 'VXETablePluginExportXLSX'
|
||||
|
||||
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({
|
||||
@@ -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(`import XEUtils from 'xe-utils/ctor';`, `import XEUtils from 'xe-utils';`))
|
||||
.pipe(babel({
|
||||
|
||||
Reference in New Issue
Block a user