Skip to content

Commit e71c6bd

Browse files
authored
fix: Add support for commonjs (#156)
* update pdf2json to latest version * feat: add support for commonjs
1 parent 300351c commit e71c6bd

File tree

6 files changed

+444
-44
lines changed

6 files changed

+444
-44
lines changed

.github/workflows/nodejs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
node-version: 16
5353
- name: Install dependencies
5454
run: npm ci
55+
- name: Build commonjs
56+
run: npm run build:cjs
5557
- name: Release
5658
env:
5759
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/node_modules
2+
/dist

0 commit comments

Comments
 (0)