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

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