File: babelrc.patch

package info (click to toggle)
node-react-audio-player 0.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,492 kB
  • sloc: makefile: 7; sh: 2
file content (19 lines) | stat: -rw-r--r-- 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Remove plugin react-hot-loader/babel not required
and adapt for babel 7

Author: Nicolas Mora <nicolas@babelouest.org>, Pirate Praveen <praveen@debian.org>
--- a/.babelrc
+++ b/.babelrc
@@ -1,10 +1,9 @@
 {
   "presets": [
-    "es2015",
-    "react"
+    "@babel/env",
+    "@babel/react"
   ],
   "plugins": [
-    "react-hot-loader/babel"
   ]
 }