Skip to content
Snippets Groups Projects
Commit d76f6fb4 authored by Jack Reed's avatar Jack Reed
Browse files

ignore blueprint requires of optional UI framework Fixes #1806

parent 9e270fc9
No related branches found
No related tags found
No related merge requests found
const path = require('path'); const path = require('path');
const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin');
const paths = require('./config/paths'); const paths = require('./config/paths');
...@@ -90,6 +91,11 @@ const baseConfig = [ ...@@ -90,6 +91,11 @@ const baseConfig = [
}), }),
], ],
}, },
plugins: [
new webpack.IgnorePlugin({
resourceRegExp: /@blueprintjs\/(core|icons)/, // ignore optional UI framework dependencies
}),
],
}, },
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment