We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
chrisbbreuer
Learn more about funding links in repositories.
Report abuse
1 parent 29e5671 commit 0dac529Copy full SHA for 0dac529
build.ts
@@ -14,7 +14,7 @@ await Bun.build({
14
// Build the browser version
15
await Bun.build({
16
entrypoints: ['src/browser.ts'],
17
- outdir: './dist/browser',
+ outdir: './dist',
18
target: 'browser',
19
plugins: [dts()],
20
})
package.json
@@ -19,6 +19,10 @@
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
21
},
22
+ "./browser": {
23
+ "types": "./dist/browser.d.ts",
24
+ "import": "./dist/browser.js"
25
+ },
26
"./*": {
27
"import": "./dist/*"
28
}
0 commit comments