How to pass options to plugins when using babel-cli
Asked Answered
C

0

9

Is it possible to declare plugin options in the babel-cli --plugins argument? I can't find any mention or examples in the documentation.

Specifically I'm trying to translate the following from a .bashrc file (as described here) into a babel-cli --plugins argument:

...
"plugins": [
[
   "babel-plugin-transform-require-ignore",
   {
      "extensions": [".css", ".sass", ".scss"]
   }
]]
...

Any assistance is very much appreciated.

Circassia answered 17/6, 2018 at 1:53 Comment(2)
You found a solution for this ?Snip
Sadly I have not.Circassia

© 2022 - 2024 — McMap. All rights reserved.