File: 0002-drop-useless-and-unavailable-plugins.patch

package info (click to toggle)
jupyterlab 4.0.11%2Bds1%2B~cs11.25.27-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 43,508 kB
  • sloc: javascript: 18,395; python: 8,932; sh: 399; makefile: 95; perl: 33; xml: 1
file content (34 lines) | stat: -rw-r--r-- 1,092 bytes parent folder | download | duplicates (2)
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',