From 8a1963f92d8f54b85ae81b35ba7f912a9a6879f6 Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Tue, 21 Mar 2023 14:40:39 -0400 Subject: [PATCH] feat: allow headless clients to use react --- packages/webpack/headless-webpack.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/webpack/headless-webpack.config.js b/packages/webpack/headless-webpack.config.js index 5d380689ee0..038f3b34340 100644 --- a/packages/webpack/headless-webpack.config.js +++ b/packages/webpack/headless-webpack.config.js @@ -29,7 +29,6 @@ const ZipPlugin = require('zip-webpack-plugin') const terserOptions = process.env.KEEP_CLASSNAMES ? { terserOptions: { - // eslint-disable-next-line @typescript-eslint/camelcase keep_classnames: true } } @@ -79,7 +78,7 @@ plugins.push(new IgnorePlugin({ resourceRegExp: /@kui-shell\/plugin-electron-com ;[ /^d3$/, /^elkjs\/lib\/elk.bundled.js$/, - /^react(-.*)?$/, + /^react-dom?$/, /^jquery$/, // /^electron$/, /^monaco-editor$/,