File: 02-babelrc.diff

package info (click to toggle)
vue.js 2.5.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,656 kB
  • sloc: sh: 97; makefile: 10
file content (20 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Provide a babel configuration file.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>

--- a/.babelrc
+++ b/.babelrc
@@ -1,6 +1,11 @@
 {
-  "presets": ["es2015", "flow-vue"],
-  "plugins": ["transform-vue-jsx", "syntax-dynamic-import"],
+  "presets": [
+    "es2015",
+    "flow-vue"],
+  "plugins": [
+    "syntax-dynamic-import",
+    "babel-plugin-add-module-exports",
+  ],
   "ignore": [
     "dist/*.js",
     "packages/**/*.js"