File: rollup-2-compat.patch

package info (click to toggle)
node-rollup-plugin-commonjs 23.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,208 kB
  • sloc: javascript: 6,636; makefile: 6
file content (17 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: rollup 2 compatibility
 Tests are written for rollup 3
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-10-11

--- a/packages/commonjs/test/helpers/util.js
+++ b/packages/commonjs/test/helpers/util.js
@@ -63,7 +63,7 @@
 
 async function getCodeMapFromBundle(bundle, options = {}) {
   const generated = await bundle.generate({
-    interop: 'compat',
+    interop: 'auto',
     exports: 'auto',
     format: 'cjs',
     ...options