[vtkusers] vtk-js webpack configuration
Patricio.Sandana at synopsys.com
Fri Dec 15 11:12:00 EST 2017
I tried to setup a webpack project with vtk-js. I followed the instructions from here https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html. As my project is already created, I copied manually the things they seem like needed. But when running my project I got this error:
ERROR in ./~/vtk.js/Sources/Rendering/OpenGL/ImageMapper/index.js
Module not found: Error: Can't resolve 'shader-loader' in 'C:\ProjectFolder'
@ ./~/vtk.js/Sources/Rendering/OpenGL/ImageMapper/index.js 53:21-87
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
What could be wrong or missing?
TCAD R&D Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers