1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: fix for rollup 3
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1022683
Forwarded: not-needed
Last-Update: 2022-10-25
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,12 +1,12 @@
/* Rollup creates the browser version of the polyfill and ponyfill. */
-import path from 'path'
-import { terser } from 'rollup-plugin-terser'
+const path = require('path')
+const { terser } = require('rollup-plugin-terser')
const input = '/usr/share/nodejs/whatwg-fetch/dist/fetch.umd.js'
const outdent = str => str.replace(/^\s*/mg, '')
-export default [
+module.exports = [
/**
* Ponyfill for CommonJS or EcmaScript Modules
* Description:
|