Skip to content

Commit 618dba8

Browse files
authored
Revert "feat: 🎸 bundle vtkjs with viewport to reduce build issues (#82)"
This reverts commit 6aa257e.
1 parent 6aa257e commit 618dba8

File tree

2 files changed

+1
-54
lines changed

2 files changed

+1
-54
lines changed

‎.webpack/webpack.config.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const autoprefixer = require('autoprefixer');
55
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
66
.BundleAnalyzerPlugin;
77
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
8-
const externalConfig = require('./webpack.external.config').default;
98

109
const ENTRY_VTK_EXT = path.join(__dirname, './../src/index.js');
1110
const SRC_PATH = path.join(__dirname, './../src');
@@ -34,7 +33,6 @@ module.exports = (env, argv) => {
3433
},
3534
module: {
3635
rules: [
37-
...externalConfig.moduleRules,
3836
{
3937
test: /\.(js|jsx)$/,
4038
exclude: /node_modules/,
@@ -61,6 +59,7 @@ module.exports = (env, argv) => {
6159
},
6260
externals: [
6361
// :wave:
62+
/\b(vtk.js)/,
6463
// Used to build/load metadata
6564
{
6665
'cornerstone-core': {

‎.webpack/webpack.external.config.js‎

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)