diff --git a/webpack.config.js b/webpack.config.js index 6f800ed4f2e32c6feaf8521f03e4f9d9d0f6ba93..3c8f6946d219385b23c9661c8bb1bfd77d4df954 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,5 @@ const path = require('path'); +const webpack = require('webpack'); const TerserPlugin = require('terser-webpack-plugin'); const paths = require('./config/paths'); @@ -90,6 +91,11 @@ const baseConfig = [ }), ], }, + plugins: [ + new webpack.IgnorePlugin({ + resourceRegExp: /@blueprintjs\/(core|icons)/, // ignore optional UI framework dependencies + }), + ], }, ];