File: 10-babel-plugin-inline-import.diff

package info (click to toggle)
node-yarnpkg 1.13.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,036 kB
  • sloc: sh: 323; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Do not use babel-plugin-inline-import
 Rationale: there are no .text, .raw and .graphql files.
 There is a single .tpl.js file in the repo, but there is no matching import.
 So it seems this plugin is not used.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>

--- a/.babelrc
+++ b/.babelrc
@@ -52,7 +52,6 @@
     "stage-0"
   ],
   "plugins": [
-    ["babel-plugin-inline-import", { "extensions": [ ".tpl.js" ] }],
     ["transform-inline-imports-commonjs"],
     ["transform-runtime", { "polyfill": false, "regenerator": true }]
   ]