text: module.exports = [
    {
      test: /\.glsl$/i,
      include: /node_modules(\/|\\)vtk.js(\/|\\)/,
      loader: 'shader-loader',
    },
    {
      test: /\.js$/,
      include: /node_modules(\/|\\)vtk.js(\/|\\)/,
      use: [
        {
          loader: 'babel-loader',
          options: {
            presets: ['@babel/preset-env'],
          },
        },
      ],
    },
  ];
  