File: 2002_drop-babel-typeof.patch

package info (click to toggle)
node-flatted 3.4.2~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,408 kB
  • sloc: javascript: 699; php: 222; python: 154; makefile: 78; sh: 40
file content (16 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: avoid NodeJS module drop-babel-typeof
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2021-11-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rollup/babel.config.js
+++ b/rollup/babel.config.js
@@ -3,7 +3,7 @@
 export default {
   input: './esm/index.js',
   plugins: [
-    babel({presets: ['@babel/preset-env']})
+    babel({presets: ['@babel/preset-env', {"exclude": "transform-typeof-symbol"}]})
   ],
   output: {
     esModule: false,