Skip to content

Commit

Permalink
fix browser example
Browse files Browse the repository at this point in the history
  • Loading branch information
gutenye committed Dec 13, 2024
1 parent 6dd22a6 commit 4095fa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/browser/example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```
cd ../.. && bun install
cd examples/web
cd browser/example
bun install
./ake start
```
2 changes: 1 addition & 1 deletion packages/browser/example/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'node:fs/promises'
import { $ } from 'bun'

const result = await Bun.build({
entrypoints: ['./browser.ts'],
entrypoints: ['./browser-example.ts'],
outdir: './build',
target: 'browser',
sourcemap: 'external',
Expand Down
3 changes: 2 additions & 1 deletion packages/browser/example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "browser-example",
"dependencies": {
"@gutenye/ocr-browser": "*"
"@gutenye/ocr-browser": "^1.4.7",
"@gutenye/ocr-common": "^1.4.7"
}
}

0 comments on commit 4095fa2

Please sign in to comment.