File: fix-for-rollup-3.patch

package info (click to toggle)
node-d3-force 1.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 636 kB
  • sloc: javascript: 579; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 433 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
Description: fix for rollup 3
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1022603
Forwarded: not-needed
Last-Update: 2022-10-26

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,4 +1,4 @@
-import * as meta from "./package.json";
+const meta = require("./package.json");
 
 const config = {
   input: "src/index.js",
@@ -15,6 +15,6 @@
   plugins: []
 };
 
-export default [
+module.exports = [
   config
 ];