evanw / evanw/esbuild

exclude paths from external[]

Open
#3,442 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I want to do something like this...
```
external: [
'./path/*',
'!./path/bundle-this/*'
]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating esbuild's handling of the external option and the path-matching logic. Compare the requested positive and negated patterns, then inspect nearby tests for external paths. Done means external paths can be broadly excluded while a matching nested path is bundled.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.