Comments (3)
I'm not sure why you're linking to version 0.19.11, which came out at the beginning of this year. In the very next version (version 0.19.12), this behavior was changed to do exactly what you're suggesting. So esbuild already works the way you want. You just need to use a newer release of esbuild.
from esbuild.
My apologies! I will blame it on having 1000 tabs open late at night and will try not to think about this when I'm trying to fall asleep for years to come.
from esbuild.
Ahh sorry again, there is a case which does repro in the latest version which explains how I noticed something wrong. I'll update the original issue text.
from esbuild.
Related Issues (20)
- Drop console.assert() statements with always true assertion HOT 2
- JSON files as entry points and JSON files imported from TS/JS HOT 2
- Support for opting out of minification for specific var names HOT 1
- Should fold let decl HOT 1
- Esbuild Won't Drop Unused Functions Created by Other Functions HOT 2
- Drop Unused Imports HOT 4
- enhance dead code elimination HOT 2
- Can not run private fields in the decorator
- Platform is not respected in module resolution HOT 3
- Get a wrong build result when first element of typescript enum is not a Literal value HOT 2
- Target chrome53 does not cover Object.fromEntries HOT 2
- Provide support for AWS Inspector compatability HOT 3
- new Buffer() -> TypeError: Cannot read properties of null (reading '0') -> starting on node 20.15 HOT 2
- Why "for the web"? HOT 2
- How to get build progress? HOT 1
- About the Golang filepath fix on wasm HOT 2
- Yarn PnP activating when project has nodeLinker: node-modules HOT 2
- Child combinator (>) in :has sometimes vanishes when transpiling nested css
- Exclude JSON from sourcemaps HOT 1
- Requestion: New release for update go 1.22.4 => 1.22.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esbuild.