Skip to content

Commit

Permalink
fix(npm): Try to solve npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Aug 13, 2019
1 parent 2391674 commit ee5b535
Show file tree
Hide file tree
Showing 4 changed files with 715 additions and 1,293 deletions.
12 changes: 12 additions & 0 deletions config/rules-vtk.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,16 @@ module.exports = [
},
],
},
{
test: /\.worker\.js$/,
include: /node_modules(\/|\\)vtk.js(\/|\\)/,
use: [
{ loader: 'worker-loader', options: { inline: true, fallback: false } },
],
},
{
test: /\.svg$/,
include: /node_modules(\/|\\)vtk.js(\/|\\)/,
use: [{ loader: 'raw-loader' }],
},
];
Loading

0 comments on commit ee5b535

Please sign in to comment.