We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf86a86 + 11dc754 commit bf000b6Copy full SHA for bf000b6
Documentation/config.js
@@ -32,12 +32,12 @@ module.exports = {
32
plugins: [],
33
rules: [
34
`
35
- { test: /\\.glsl$/i, loader: 'shader-loader' },
36
{
37
test: /\\.js$/,
+ exclude: /dist\\/esm/,
38
use: [
39
40
- loader: 'babel-loader',
+ loader: 'babel-loader?cacheDirectory',
41
},
42
],
43
@@ -69,22 +69,16 @@ module.exports = {
69
test: /\\.svg$/,
70
type: 'asset/source',
71
72
- {
73
- test: /\\.worker\\.js$/,
74
- use: [
75
76
- loader: 'worker-loader',
77
- options: { inline: 'no-fallback' },
78
- },
79
- ],
80
81
{ test: /\\.(png|jpg)$/, type: 'asset' },
82
{ test: /\\.html$/, loader: 'html-loader' },
83
{ test: /\\.cjson$/, loader: 'hson-loader' },
84
{ test: /\\.hson$/, loader: 'hson-loader' },
85
`,
86
87
- alias: ["'vtk.js': `${rootPath}`,"],
+ alias: [
+ "'vtk.js/Sources': `${rootPath}/dist/esm`,",
+ "'vtk.js': `${rootPath}`,",
+ ],
88
89
copy: [{ src: '../Data/*', dest: './build-tmp/public/data' }],
90
};
0 commit comments