Skip to content

Commit

Permalink
Explicitly set target of bun build to browser
Browse files Browse the repository at this point in the history
  • Loading branch information
philliphartin committed Jan 19, 2024
1 parent 91ab9f1 commit 23716e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export async function build() {
return await Bun.build({
entrypoints: ['./src/index.ts'],
outdir: './dist',
target: 'browser',
minify: {
whitespace: true,
identifiers: false,
Expand Down

0 comments on commit 23716e4

Please sign in to comment.