Skip to content

Commit

Permalink
build(workers): Update build to support new vtk.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Feb 26, 2018
1 parent 196fc32 commit 61f37fd
Show file tree
Hide file tree
Showing 4 changed files with 401 additions and 3,574 deletions.
7 changes: 7 additions & 0 deletions Utilities/rules/vtkjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ module.exports = [
include: /node_modules(\/|\\)vtk\.js(\/|\\)/,
use: [{ loader: 'raw-loader' }],
},
{
test: /\.worker\.js$/,
include: /node_modules(\/|\\)vtk\.js(\/|\\)/,
use: [
{ loader: 'worker-loader', options: { inline: true, fallback: false } },
],
},
];
Loading

0 comments on commit 61f37fd

Please sign in to comment.