babel / babel/website

Allow the ability to pass env vars into the babel playground

Open
#2,442 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
777
Forks
1.4k
Avg merge
16h 45m
Merged PRs (30d)
3

Description

## Feature Request

Allow the ability to pass ENV vars into the babel playground, some plugins only work when a certain NODE_ENV is set, e.g. when prop-types are removed from react in production envs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Babel playground entry point and inspecting how plugin options and runtime configuration are passed. Confirm that environment variables, including NODE_ENV, can be supplied and that plugins depending on production mode behave correctly in the playground.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react
Domain
tooling, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.