File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ const tsdownConfig: UserConfig[] = [
77 entry : {
88 index : 'src/browser.ts' ,
99 node : 'src/node.ts' ,
10- 'index.d' : 'src/index.d.ts' ,
1110 'bin/sqlite3-worker1' : 'src/bin/sqlite3-worker1.mjs' ,
1211 } ,
1312 format : [ 'esm' ] ,
13+ dts : false ,
1414 minify : 'dce-only' ,
1515 outputOptions : {
1616 comments : {
@@ -22,10 +22,19 @@ const tsdownConfig: UserConfig[] = [
2222 copyFileSync ( './dist/bin/sqlite3-worker1.mjs' , './dist/sqlite3-worker1.mjs' ) ;
2323 } ,
2424 } ) ,
25+ defineConfig ( {
26+ target : 'es2023' ,
27+ entry : {
28+ 'index.d' : 'src/index.d.ts' ,
29+ } ,
30+ format : [ 'esm' ] ,
31+ dts : true ,
32+ } ) ,
2533 defineConfig ( {
2634 target : 'es2023' ,
2735 entry : [ 'src/bin/sqlite3-opfs-async-proxy.js' ] ,
2836 format : [ 'iife' ] ,
37+ dts : false ,
2938 minify : 'dce-only' ,
3039 outputOptions : {
3140 comments : {
You can’t perform that action at this time.
0 commit comments