evenchange4 / react-intl-cra

🔧 Extract messages of Creact React App from the command line.
MIT License
67 stars 11 forks source link

Support babel-plugins flag #47

Closed dachinat closed 5 years ago

dachinat commented 6 years ago

I was using transform-function-bind and I was getting an error.

With -b options it's possible to pass array of used babel plugins:

react-intl-cra 'src/**/*.js' -o 'en.json' -b transform-function-bind transform-optional-chaining

Specified plugins will be taken into account while processing necessary files.

codecov[bot] commented 6 years ago

Codecov Report

Merging #47 into master will decrease coverage by 6.25%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
- Coverage     100%   93.75%   -6.25%     
==========================================
  Files           1        1              
  Lines          14       16       +2     
==========================================
+ Hits           14       15       +1     
- Misses          0        1       +1
Impacted Files Coverage Δ
src/index.js 93.75% <50%> (-6.25%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bae17a9...05c1a95. Read the comment docs.