codesandbox / codesandbox/codesandbox-client

Support babel.config.json

Open
#5,633 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎒 Bundler 🤔 Improvement
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🌈 Feature

Currently, adding a .babelrc file is the only way for a custom babel config to be detected by CodeSandbox. The documentation on configuring Babel recommends:

We recommend using the babel.config.json format. Babel itself is using it.

It would be nice if babel.config.json was detected and used.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the code that detects and uses .babelrc files, then check how Babel configuration is resolved. Done means a babel.config.json file is detected and used, with coverage for the new configuration format.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.