Skip to content

With export mapping defined, unable to import any file but the one defined #392

@kalvenschraut

Description

@kalvenschraut

Image

we input the pdfunit file to call the getColorByIndex static member. to work around this problem I made the local patch with pnpm. I can get a PR up for this if this would be the desired fix

--- a/package.json
+++ b/package.json
@@ -108,7 +108,8 @@
                        "types": "./dist/pdfparser.d.ts",
                        "import": "./dist/pdfparser.js",
                        "require": "./dist/pdfparser.cjs"
-               }
+               },
+               "./lib/*": "./lib/*"
        },
        "publishConfig": {
                "registry": "https://registry.npmjs.com/",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions