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

Missing file in dist folder in package 2.1.8 version #162

Open
misaelbr opened this issue Oct 23, 2023 · 0 comments
Open

Missing file in dist folder in package 2.1.8 version #162

misaelbr opened this issue Oct 23, 2023 · 0 comments

Comments

@misaelbr
Copy link

Hello,

Hello, I'm trying to use this package with React, but package.json is referencing a non-existent file.

This issue in the follow line in the package.json:

{
 // ...
   "module": "dist/bundles/wasm-imagemagick.esm-es5.js",
 //...
}

Bellow the files in dist and dist/bundles:

misael in node_modules/wasm-imagemagick/dist
➜  tree .
.
├── bundles
│   ├── magickApi.js
│   ├── magick.js
│   └── magick.wasm
├── magickApi.js
├── magick.js
├── magick.wasm

To fix it, you need to change the module entry to magickApi.js

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