Skip to content

Commit

Permalink
feat(worker): export worker paths
Browse files Browse the repository at this point in the history
  • Loading branch information
subframe7536 committed Oct 29, 2024
1 parent 8f5a63d commit 6f13e95
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/dialect-bun-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,21 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./worker": {
"import": "./dist/worker.mjs",
"require": "./dist/worker.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"typesVersions": {
"*": {
"./worker": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
Expand Down
11 changes: 11 additions & 0 deletions packages/dialect-sqlite-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,21 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./worker": {
"import": "./dist/worker.mjs",
"require": "./dist/worker.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"typesVersions": {
"*": {
"./worker": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
Expand Down

0 comments on commit 6f13e95

Please sign in to comment.