File: use-babel7.patch

package info (click to toggle)
node-to-regex 3.0.2%2B~cs6.3.28-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,252 kB
  • sloc: javascript: 10,225; sh: 10; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 368 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
Adapt preset names for babel 7

--- a/regexp-tree/.babelrc
+++ b/regexp-tree/.babelrc
@@ -3,14 +3,14 @@
     "production": {
       "presets": [
         [
-          "env",
+          "@babel/env",
           {
             "targets": {
               "node": "0.12"
             }
           }
         ],
-        "flow"
+        "@babel/flow"
       ]
     }
   }