Saturday 6 May 2017

Disable babel plugin on CircleCI

I'd like to disable/not install one specific npm package in my app when CircleCI runs its tests, because the package makes the build process fail.

To be specific, it is a babel plugin for react-intl that automatically parses the files and pulls strings in another folder (babel-plugin-react-intl).

What is the best way of achieving this? Can this be done in the .babelrc file for example?



via Florian Bienefelt

No comments:

Post a Comment