Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 添加luckysheet导出为excel #102

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async function compile() {
// commonjs(), // converts date-fns to ES modules
typescript({
tsconfigOverride: {
compilerOptions : { module: "ESNext" }
compilerOptions : { module: "ESNext", "sourceMap": true }
}
}),
// terser(), // minify, but only in production
Expand All @@ -134,14 +134,14 @@ async function compile() {
format: 'esm',
name: 'LuckyExcel',
inlineDynamicImports:true,
// sourcemap: true
sourcemap: true
})
bundle.write({
file: pkg.main,
format: 'cjs',
name: 'LuckyExcel',
inlineDynamicImports:true,
// sourcemap: true
sourcemap: true
})
// bundle.write({
// file: pkg.browser,
Expand Down Expand Up @@ -169,7 +169,7 @@ function bundleUMD() {
.bundle()
.pipe(source('luckyexcel.umd.js'))
.pipe(buffer())
// .pipe(sourcemaps.init({loadMaps: true})) //The production environment does not need source map file
.pipe(sourcemaps.init({loadMaps: true})) //The production environment does not need source map file
// .pipe(uglify())
.pipe(sourcemaps.write('./'))
.pipe(dest("dist"));
Expand Down
Loading