File: 0002-Update-plugin-names-for-babel-7.patch

package info (click to toggle)
node-browserify-zlib 0.2.0%2B20170820git8b3f0a862f6b%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 336 kB
  • sloc: javascript: 1,905; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 42402bfb3e502f67fc135811ffc36bde142bbd7d Mon Sep 17 00:00:00 2001
From: Pirate Praveen <praveen@debian.org>
Date: Fri, 8 May 2020 14:59:37 +0530
Subject: Update plugin names for babel 7

---
 package.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/package.json
+++ b/package.json
@@ -46,9 +46,9 @@
   },
   "babel": {
     "plugins": [
-      "transform-es2015-arrow-functions",
-      "transform-es2015-block-scoping",
-      "transform-es2015-template-literals"
+      "@babel/transform-arrow-functions",
+      "@babel/transform-block-scoping",
+      "@babel/transform-template-literals"
     ]
   },
   "author": "Devon Govett <devongovett@gmail.com>",