Evan Wallace
Evan Wallace
Thank you for the suggestion. I'm actually thinking about experimenting with a plugin hook like that for other reasons as well. However, it's worth mentioning that doing something like that...
Public paths can also end up in CSS files. This proposal essentially means esbuild would have to completely change its approach to CSS bundling from what it currently does (CSS...
Not right now. I may figure out an extensibility story within esbuild after the project matures, but I may also keep esbuild as a relatively lean bundler with only a...
@rsms thanks for writing up your thoughts. It was very interesting to read through them, and helpful to learn from your experience. I haven't seen the `plugin` package used before....
I have an update! While the final plugin API might need a few rewrites to work out the kinks, I think I have an initial approach that I feel pretty...
After more thought, I'm no longer thinking of taking the approach Rollup does with virtual paths using a null byte prefix. Instead I'm going back to the "paths are a...
Yes, good point. The plugin API is intended to be used with the [esbuild API](https://github.com/evanw/esbuild/blob/5c6b3ab0e25d68f3495e0f20c0e591749dc74fae/docs/js-api.md#running-a-build). People have already been creating simple JavaScript "build script" files that just call the esbuild...
> It would be useful to have a transform hook where you gain access to the generated AST, so that you can do fast file transformations in Go. I totally...
I'm expecting all serious usage of esbuild to use the API anyway because specifying a long list of options on the command line isn't very maintainable (e.g. don't get nice...
> Which is what I meant by "wrapper" :) I see. I thought you meant that it would be complex enough to require an additional wrapper package with a significant...