Evan Wallace
Evan Wallace
Thanks for mentioning the `length` property. That is actually something that esbuild cares about (in the absence of other concerns), as it's sometimes used by certain frameworks despite being a...
I believe you are looking for the following plugin API: https://esbuild.github.io/plugins/#on-resolve
The file system on Windows has multiple roots (volume labels) while the file system on Unix has a single root (just `/`). I'm aware that this is problematic with some...
Sorry, I don't understand what the problem is. Here is some HTML containing the code you wrote: ```html a::after { content: 'test'; position: absolute; top: 0; display: none \9; }...
This is a bug with cssnano, not esbuild. You can find their repository here and file a bug with them: https://github.com/cssnano/cssnano. I tried https://cssnano.github.io/cssnano/playground/ and cssnano turns this: ```css a:after...
That depends on how you loaded it. The `text` loader [uses `\n`](https://esbuild.github.io/try/#dAAwLjI1LjIALS1sb2FkZXI9dGV4dAA8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW5nPSJVVEYtOCI/Pgo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjQ3IiBoZWlnaHQ9IjE0NSI+Cjwvc3ZnPg) while the `dataurl` loader [uses `%0A`](https://esbuild.github.io/try/#dAAwLjI1LjIALS1sb2FkZXI9ZGF0YXVybAA8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW5nPSJVVEYtOCI/Pgo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjQ3IiBoZWlnaHQ9IjE0NSI+Cjwvc3ZnPg). They are both the standard ways to encode the newline character in...
By default, attempting to bundle a `.node` file with esbuild should give the error `No loader is configured for ".node" files`. So I'm guessing that you configured esbuild to somehow...
Yes, you should mark it as external. The `file` loader transforms the `require()` call into something that returns a string literal instead of a module object, which will break pretty...
Closing this issue as resolved.
I agree. I think it makes the most sense for this to also be a part of esbuild's dev server eventually.