We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8b4865 + 9011685 commit f71e846Copy full SHA for f71e846
1 file changed
webpack/webpack.mirador.config.ts
@@ -1,3 +1,4 @@
1
+const webpack = require('webpack');
2
const CopyWebpackPlugin = require('copy-webpack-plugin');
3
const path = require('path');
4
@@ -17,7 +18,11 @@ module.exports = {
17
18
fallback: {
19
url: false
20
}},
- plugins: [new CopyWebpackPlugin({
21
+ plugins: [
22
+ new webpack.IgnorePlugin({
23
+ resourceRegExp: /@blueprintjs\/(core|icons)/, // ignore optional UI framework dependencies
24
+ }),
25
+ new CopyWebpackPlugin({
26
patterns: [
27
{from: './src/mirador-viewer/mirador.html', to: './index.html'}
28
]
0 commit comments