summaryrefslogtreecommitdiff
path: root/patches/remove-unsupported-syntax.patch
blob: bf1b359271f75cd7fe28398f43e73ae7463edd4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
This syntax is not supported in packaged rollup/node yet.
Minified file is generated by uglifyjs.terser command line.

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,4 +1,3 @@
-import {terser} from "rollup-plugin-terser";
 import * as meta from "./package.json";
 
 const config = {
@@ -17,20 +16,5 @@
 };
 
 export default [
-  config,
-  {
-    ...config,
-    output: {
-      ...config.output,
-      file: `dist/${meta.name}.min.js`
-    },
-    plugins: [
-      ...config.plugins,
-      terser({
-        output: {
-          preamble: config.output.banner
-        }
-      })
-    ]
-  }
+  config
 ];