File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2525 "import" : " ./dist/opfs.js" ,
2626 "require" : " ./dist/opfs.cjs"
2727 },
28+ "./constant" : {
29+ "import" : " ./dist/constant.js" ,
30+ "require" : " ./dist/constant.cjs"
31+ },
2832 "./wasm" : " ./dist/wa-sqlite.wasm" ,
2933 "./wasm-async" : " ./dist/wa-sqlite-async.wasm"
3034 },
Original file line number Diff line number Diff line change 1+ export * from 'wa-sqlite/src/sqlite-constants.js'
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default defineConfig({
77 index : 'src/index.ts' ,
88 idb : 'src/vfs/idb.ts' ,
99 opfs : 'src/vfs/opfs.ts' ,
10+ constant : 'src/constant.ts' ,
1011 } ,
1112 format : [ 'esm' , 'cjs' ] ,
1213 dts : true ,
@@ -28,11 +29,11 @@ export default defineConfig({
2829 if ( this . format === 'esm' ) {
2930 Promise . all ( [
3031 copyFile (
31- './node_modules/ wa-sqlite/dist /wa-sqlite.wasm' ,
32+ './wa-sqlite-fts5 /wa-sqlite.wasm' ,
3233 './dist/wa-sqlite.wasm' ,
3334 ) ,
3435 copyFile (
35- './node_modules/ wa-sqlite/dist /wa-sqlite-async.wasm' ,
36+ './wa-sqlite-fts5 /wa-sqlite-async.wasm' ,
3637 './dist/wa-sqlite-async.wasm' ,
3738 ) ,
3839 ] )
You can’t perform that action at this time.
0 commit comments