We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JSONLicenseWebpackPlugin
1 parent a605fa9 commit 16f5cb4Copy full SHA for 16f5cb4
app/webpack.config.js
@@ -14,6 +14,7 @@ const BundleAnalyzerPlugin =
14
require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
15
16
const Build = require('@jupyterlab/builder').Build;
17
+const WPPlugin = require('@jupyterlab/builder').WPPlugin;
18
const baseConfig = require('@jupyterlab/builder/lib/webpack.config.base');
19
20
const data = require('./package.json');
@@ -219,6 +220,10 @@ module.exports = [
219
220
fallback: { util: false },
221
},
222
plugins: [
223
+ new WPPlugin.JSONLicenseWebpackPlugin({
224
+ excludedPackageTest: (packageName) =>
225
+ packageName === '@jupyter-notebook/app',
226
+ }),
227
new ModuleFederationPlugin({
228
library: {
229
type: 'var',
0 commit comments