Skip to content

Commit

Permalink
Fix broken CommonJS export
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzyla committed Sep 1, 2024
1 parent d336d95 commit 7f0ddc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@hyzyla/pdfium",
"version": "2.1.1",
"description": "Universal wrapper for PDFium 2",
"description": "Universal wrapper for PDFium",
"type": "module",
"exports": {
".": {
"node": {
"module": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default [
input: "src/index.cjs.ts",
output: {
name: "@hyzyla/pdfium",
file: `${DIST_FOLDER}/index.cjs.js`,
file: `${DIST_FOLDER}/index.cjs`,
format: "cjs",
exports: "named",
},
Expand Down

0 comments on commit 7f0ddc9

Please sign in to comment.