Fix ESM symlink build for Viewers

This commit is contained in:
dannyrb committed 2019-07-15 13:03:29 -04:00
1 parent 2fbbb4a8e2
commit 83e627e5c9
3 files changed
+27 -7

No files matched your search

+21
View File
@@ -63,6 +63,27 @@ module.exports = (env, argv) => {
},
],
},
/**
*
*/
{
test: /\.glsl$/i,
include: /vtk\.js[\/\\]Sources/,
loader: 'shader-loader',
},
/**
*
*/
{
test: /\.worker\.js$/,
include: /vtk\.js[\/\\]Sources/,
use: [
{
loader: 'worker-loader',
options: { inline: true, fallback: false },
},
],
},
],
},
plugins: [