Description: fix for rollup 3
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1022641
Forwarded: not-needed
Last-Update: 2022-10-26

--- a/scripts/rollup/config-es.js
+++ b/scripts/rollup/config-es.js
@@ -1,10 +1,10 @@
-import path from "path";
-import buble from "rollup-plugin-buble";
+const path = require("path");
+const buble = require("rollup-plugin-buble");
 
 const SRC_DIR = path.resolve("../src");
 const DIST_DIR = path.resolve(SRC_DIR, "../dist");
 
-export default {
+module.exports = {
   sourcemap: false,
   input: path.join(SRC_DIR, "tuple.js"),
   output: {
--- a/scripts/rollup/config-min.js
+++ b/scripts/rollup/config-min.js
@@ -1,11 +1,11 @@
-import path from "path";
-import buble from "rollup-plugin-buble";
-import uglify from "rollup-plugin-uglify";
+const path = require("path");
+const buble = require("rollup-plugin-buble");
+const uglify = require("rollup-plugin-uglify");
 
 const SRC_DIR = path.resolve("../src");
 const DIST_DIR = path.resolve(SRC_DIR, "../dist");
 
-export default {
+module.exports = {
   sourcemap: false,
   input: path.join(SRC_DIR, "tuple.js"),
   output: {
--- a/scripts/rollup/config.js
+++ b/scripts/rollup/config.js
@@ -1,10 +1,10 @@
-import path from "path";
-import buble from "rollup-plugin-buble";
+const path = require("path");
+const buble = require("rollup-plugin-buble");
 
 const SRC_DIR = path.resolve("../src");
 const DIST_DIR = path.resolve(SRC_DIR, "../dist");
 
-export default {
+module.exports = {
   sourcemap: false,
   input: path.join(SRC_DIR, "tuple.js"),
   output: {
