evanw / evanw/esbuild

Call all plugins onResolve instead of using only the first one

Open
#501 3 comments 11 reactions 0 assignees View on GitHub
plugins
Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Currently only the first plugin onResolve result will be used, this means there is no way to override a previous plugin result

Calling all plugins allows you to override previous plugins

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies the plugin onResolve entry point but names no file or test. Locate the dispatch logic in the esbuild source, then verify that all plugins are called and that a later result can override an earlier one, with coverage for that ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.