Evan Wallace

Results 542 comments of Evan Wallace

Yes, there are several open problems with source maps. Here are some similar ones to what you are bringing up: * https://github.com/evanw/esbuild/issues/1745 * https://github.com/evanw/esbuild/issues/3183 * https://github.com/evanw/esbuild/issues/3613 * https://github.com/evanw/esbuild/issues/3982 The underlying...

No there isn't currently a way to do this (other than to move those constants to separate files). For context: old versions of esbuild used to split individual files up...

It was removed a while ago unfortunately. In [version 0.10.1](https://github.com/evanw/esbuild/releases/v0.10.1).

This is already possible with esbuild's [banner](https://esbuild.github.io/api/#banner) feature. Like this: [link](https://esbuild.github.io/try/#YgAwLjI1LjYALS1iYW5uZXI6anM9Ii8vIyBhbGxGdW5jdGlvbnNDYWxsZWRPbkxvYWQiAGUAZW50cnkuanMAZnVuY3Rpb24gdGVzdGZ1bmMyKCkgewogIC8vIHRoaXMgaXMgYSBjb21tZW50CiAgY29uc29sZS5sb2coJ3Rlc3RmdW5jMiBjYWxsZWQhJyk7Cn0KCnRlc3RmdW5jMigpOw) Given that it's a niche feature for a single engine, it seems like it's really a decision for the...

What is the intended effect of this PR? Edit: I'm asking because you have no tests and there's nothing in the description that motivates this change.

You may be interested to know that you can already disable color in many tools (including esbuild) by having `NO_COLOR=1` in your environment. Then you don't have to explicitly pass...

What's the actual use case you have for this in your source code? This seems like something that should be handled by a linter or type checker instead of by...

How does this come up in practice? What's the real-world example where you're encountering this behavior.

> The practical example is commonly appeared Please provide an example. Code containing a stray `0;` does not make sense. Edit: Sorry, I incorrectly assumed that the person who made...

> `esbuild.exe EPERM` `EPERM` is a permission problem, and likely indicates that something is wrong with your specific machine configuration. You have to debug and fix this for yourself.