1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Yadd <yadd@debian.org>
Date: Tue, 19 Dec 2023 20:06:43 +0100
Subject: drop useless and unavailable plugins
Forwarded: not-needed
Last-Update: 2023-12-19
---
jupyterlab/staging/webpack.config.js | 6 ------
1 file changed, 6 deletions(-)
diff --git a/jupyterlab/staging/webpack.config.js b/jupyterlab/staging/webpack.config.js
index d934067..50a4a76 100644
--- a/jupyterlab/staging/webpack.config.js
+++ b/jupyterlab/staging/webpack.config.js
@@ -10,8 +10,6 @@ const Handlebars = require('handlebars');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const webpack = require('webpack');
const merge = require('webpack-merge').default;
-const BundleAnalyzerPlugin =
- require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const baseConfig = require('@jupyterlab/builder/lib/webpack.config.base');
const { ModuleFederationPlugin } = webpack.container;
@@ -273,10 +271,6 @@ const plugins = [
})
];
-if (process.argv.includes('--analyze')) {
- plugins.push(new BundleAnalyzerPlugin());
-}
-
module.exports = [
merge(baseConfig, {
mode: 'development',
|