Closed Joeycho closed 1 week ago
I am having the same issue
I checked out tag beta.45 and works flawlessly, my guess it is the babel-loader
here:
https://github.com/OHIF/Viewers/commit/88575c6c09fd778a31b2f91524163ce65d1639dd
yeah we fixed this
Hmm.. beta.45 works for you? @wowczarczyk
In my case, Webpack version was critical... "webpack": "5.89.0" https://github.com/OHIF/Viewers/commit/b6136acff6e2d0fb3cf5a28068f519ab9b1e61dd
What do you think @wayfarer3130? Which PR fixes this issue? If downgrade of webpack fixed the issue, then.. did you find some relevant issues or discussion in webpack community? This is a temporary fix, right?
Yep, beta.45 works fine
Describe the Bug
I have debugged by myself for a couple of days, and I recognized that some variables are accessed incorrectly. But I understand why Babel or Webpack is confused (This is my current guess.. where the issue is..).
This bug does not happen only for Texture.js. There are other files as well in @kitware/vtk.js.
I have tried turning off all mangling.. minimize.. but, I cannot find a way to fix it. As you can see in the below image, "B" and "dJ" are already inserted. I think Both.. "B" and "dJ" should be gone..
Steps to Reproduce
yarn build
: Production build. This will lead dist folder under platform/app.Change the directory to the platform/app
Serve the files in our current directory
npx serve ./dist -c ../public/serve.json