swc-project / swc-project/plugins

[Proposal] Promote `swc-plugin-import-meta-env`

Open
#612 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
389
Forks
106
Avg merge
10m
Merged PRs (30d)
1

Description

It was recently suggested that I consider promoting swc-plugin-import-meta-env to the general plugins repository.

Before making a PR to attempt to do so, I want to gauge interest from the team.

The package:

  • Simple transformer that transforms import.meta.env -> process.env
  • ~20k weekly downloads

I'm happy to continue to maintain it externally, but also happy to help migrate it to here if there's interest :)

Contributor guide

No contributing guide indexed for this repository

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

Start by reviewing issue #430 and the swc-plugin-import-meta-env package linked in this proposal. The issue is complete only when the team decides whether to promote the package and, if approved, defines a migration path; no target files or tests are identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.