Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kill-rollup-node-resolve #19

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,4 @@ updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: npm
directory: /
schedule:
interval: daily
- package-ecosystem: npm
directory: /examples/node-cli
schedule:
interval: daily
- package-ecosystem: npm
directory: /examples/node-server
schedule:
interval: daily
- package-ecosystem: npm
directory: /examples/web
schedule:
interval: daily
interval: daily
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
run: npm ci
- name: Build library
run: make lib
- name: Build examples
run: make examples
- name: Typecheck
run: make typecheck
- name: Check formatting
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ FALLBACK_INSTALL_DIR=$(INSTALL_DIR)/fallback
DIST_TARGETS=\
dist/tesseract-core.wasm \
dist/tesseract-core-fallback.wasm \
dist/lib.js \
dist/tesseract-worker.js
dist/lib.js

.PHONY: lib
lib: $(DIST_TARGETS)
Expand Down Expand Up @@ -191,5 +190,5 @@ dist/tesseract-core-fallback.wasm: build/tesseract-core-fallback.wasm
mkdir -p dist/
cp $< $@

dist/lib.js dist/tesseract-worker.js: src/*.ts build/tesseract-core.js build/tesseract-core.wasm build/tesseract-core-fallback.wasm
dist/lib.js: src/*.ts build/tesseract-core.js build/tesseract-core.wasm build/tesseract-core-fallback.wasm
node_modules/.bin/rollup -c rollup.config.js
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ This Tesseract build has been optimized for use in the browser by:
npm install tesseract-wasm
```

2. Serve the `tesseract-core.wasm`, `tesseract-core-fallback.wasm` and
`tesseract-worker.js` files from `node_modules/tesseract-wasm/dist` alongside
2. Serve the `tesseract-core.wasm` and `tesseract-core-fallback.wasm`
files from `node_modules/tesseract-wasm/dist` alongside
your JavaScript bundle.

3. Get the training data file(s) for the languages you want to support from the
Expand Down
1 change: 0 additions & 1 deletion examples/node-cli/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions examples/node-cli/README.md

This file was deleted.

62 changes: 0 additions & 62 deletions examples/node-cli/ocr.js

This file was deleted.

Loading
Loading