atom-community / atom-community/atom-script

Use project .babelrc file with plugins?

Open
#1,480 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

I couldn't figure out how to get atom-script to use my project .babelrc file. I have additional plugins like babel-plugin-transform-object-rest-spread in my local babelrc file that I would like to use. Right now I get error when trying to run babel code with object spread. I was able to manually, temporarily fix this by updating the babel setting in the atom-script package.json file with the right plugins and installing said plugins directly into my ~/.atom/packages/script/ folder. If there is a simpler way to circumvent this... please enlighten me! Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.