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

Cannot use in NodeJS without overwriting package.json entries #3

Open
pollaktamas opened this issue Dec 13, 2024 · 0 comments
Open

Comments

@pollaktamas
Copy link

(The issue is similar to a former psd-importer one: imgly/psd-importer#2)

Our team would like to use the idml-importer in a Node environment, which according to the readme is possible.

The node_modules folder of the importer contains a browser.js file and a node.js file.

image

The package.json only exports the browser files, so the node files cannot be used without making modifications to the importer's package.json


Additionally, this is not an issue, but it would be easier for us if the node.js file was a CommonJS module, it's currently ESM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant