Unable to build react application with the new version 0.0.17 #64
Unanswered
shuvradeb-saha
asked this question in
Q&A
Replies: 1 comment
-
The latest version use different distribution method that was added by @Peeterush. One of these changes was a different import method. I have heard different points of view about this and I wonder if I should revisit that strategy. It might be possible that your code had a bug that you never noticed but is now visible due to these changes. Is it possible to create a small application in a GitHub repository that can be used to reproduce this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had been using the magick-wasm v0.0.15 in a react application which was going well. But after upgrading the library to 0.0.17, I started to get the following error during
yarn build
:-I have been using the following node environment:
Node: v16.14.2
Yarn: 1.22.19
The changes are made only in the import statement section of my own code after the upgrade.
For the previous
magick-wasm v0.0.15
version we had to import like this:But in the latest version (
v0.0.17
) importing everything from a single import statement like this:I tried clearing the cache and re-installing the node modules inside the applications, but nothing worked. Any help regarding this would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions