get-babel-rc

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
None
DOWNLOADS
0
LICENSE
MIT
VISIBILITY
Public
subject
Retrieves the `.babelrc` file as JSON from the specified directory (default is working directory).
1 contributor
Like
Use get-babel-rc in your project ?
Copied
npm i @bit/bit.envs.utils.get-babel-rc

Configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Don't show this again
Component Example
const babelOptions = getBabelRc(); babel.transform( code, babelOptions, distPath
modified
chevron_left
chevron_right
getBabelRc (
pathToLook:string
)

Retrieves the .babelrc file as JSON from the specified directory (default is working directory).

Example
const babelOptions = getBabelRc();
babel.transform(code, babelOptions, distPath);
Argument
pathToLook: string