support customizing esbuild platform
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js, typescript
- Domain
- build-system, cli
Research direction
Start by reading src/packup.ts around line 300, where the esbuild platform is currently set to browser. Trace how build options are received and passed through, then check how a configurable platform could be exposed. Done means a server-oriented plugin can select node as the platform and import Node.js built-ins successfully.
Written by the indexing model from the issue text.
Description
In order to develop plugins that are intended for server usage with node.js, it is important to be able to configure esbuild's platform argument. Currently it is set to browser, which prevents plugin code from importing node built-in libraries.
Would it be possible to make this configurable?
Thank you for this very useful library!
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tiddly-gittly/plugin-dev-cli
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tiddly-gittly/plugin-dev-cli#12 · 1 comment ·
-
定制编译策略这一篇,没说在哪个文件里填 Open
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
tiddly-gittly/plugin-dev-cli#7 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
All issues in tiddly-gittly/plugin-dev-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
AOSSIE-Org/DebateAI#582 · 2 comments ·