File: fix-for-rollup-3.patch

package info (click to toggle)
notepadqq 2.0.0~beta1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,220 kB
  • sloc: javascript: 62,205; cpp: 17,647; sh: 223; xml: 36; makefile: 32
file content (17 lines) | stat: -rw-r--r-- 516 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/1023327
Forwarded: not-needed
Last-Update: 2022-10-28

--- a/src/editor/libs/codemirror/rollup.config.js
+++ b/src/editor/libs/codemirror/rollup.config.js
@@ -1,6 +1,6 @@
-import buble from 'rollup-plugin-buble';
+const buble = require('@rollup/plugin-buble');
 
-export default {
+module.exports = {
   input: "src/codemirror.js",
   output: {
     banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others