File: fix-rollup.patch

package info (click to toggle)
node-react-popper 2.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 652 kB
  • sloc: javascript: 1,611; makefile: 14
file content (26 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
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
Description: drop unavailable plugins
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-03-30

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,9 +1,8 @@
 import nodeResolve from '@rollup/plugin-node-resolve';
 import commonjs from '@rollup/plugin-commonjs';
-import babel from 'rollup-plugin-babel';
+import babel from '@rollup/plugin-babel';
 import replace from '@rollup/plugin-replace';
 import { terser } from 'rollup-plugin-terser';
-import bundleSize from '@atomico/rollup-plugin-sizes';
 
 const input = './src/index.js';
 
@@ -32,7 +31,6 @@
       commonjs({ include: '**/node_modules/**' }),
       babel(getBabelOptions()),
       replace({ 'process.env.NODE_ENV': JSON.stringify('development') }),
-      bundleSize(),
     ],
   },