File: 00-rollup.diff

package info (click to toggle)
node-puka 1.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 552 kB
  • sloc: makefile: 8; sh: 2
file content (27 lines) | stat: -rw-r--r-- 621 bytes parent folder | download
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
Index: node-puka/rollup.config.js
===================================================================
--- node-puka.orig/rollup.config.js
+++ node-puka/rollup.config.js
@@ -1,9 +1,11 @@
 import babel from 'rollup-plugin-babel';
-import cleanup from 'rollup-plugin-cleanup';
 
 export default {
   input: 'src/index.js',
-  format: 'cjs',
+  output: {
+    file: 'dist/index.js',
+    format: 'cjs',
+  },
   plugins: [
     babel({
       babelrc: false,
@@ -15,8 +17,5 @@ export default {
         'transform-es2015-spread',
       ],
     }),
-    cleanup({
-      comments: /^(?:(?!eslint-)[^])*$/,
-    }),
   ],
 };