Skip to content
Snippets Groups Projects
Unverified Commit 25dfb2a3 authored by Jessie Keck's avatar Jessie Keck Committed by GitHub
Browse files

Merge pull request #1871 from ProjectMirador/ignore

ignore blueprint requires of optional UI framework Fixes #1806
parents 9e270fc9 d76f6fb4
No related branches found
No related tags found
No related merge requests found
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
}),
],
},
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment