File: fix-for-rollup-3.patch

package info (click to toggle)
node-typanion 3.8.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 376 kB
  • sloc: javascript: 51; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix for rollup 3
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1022677
Forwarded: not-needed
Last-Update: 2022-10-27

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,6 +1,6 @@
-import ts from "@rollup/plugin-typescript";
+const ts = require("@rollup/plugin-typescript");
 
-export default {
+module.exports = {
   input: './sources/index.ts',
   output: [
     {