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

Web helpers #37

Open
OisteinH opened this issue Sep 28, 2022 · 1 comment
Open

Web helpers #37

OisteinH opened this issue Sep 28, 2022 · 1 comment

Comments

@OisteinH
Copy link

We have an issue when importing the web helpers from file_handlers.js in a typescript project:

Package path ./dist/esm/file_handlers.js is not exported from package <path_to_project>\node_modules\h5wasm (see exports field in <path_to_project>\node_modules\h5wasm\package.json)

Changing "exports" in h5wasm/packages.json to

"exports": {
".": {
"node": "./dist/node/hdf5_hl.js",
"import": "./dist/esm/hdf5_hl.js"
},
"./dist/esm/file_handlers.js": "./dist/esm/file_handlers.js"
},

works, but may not be the desired solution.

@bmaranville
Copy link
Member

Your solution looks pretty reasonable... I will check it out and see if it interferes with anything else. Thanks!

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

2 participants