Lewis

Results 93 comments of Lewis

Yeah, it would be great if I could tell the compiler not to worry about `import.meta`. `@supress` or `@external import.meta` would be good approaches - tried both, compiler won't take...

Thanks so much, that's very close to a [similar workaround](https://github.com/google/closure-compiler/issues/3719) I saw recently. This will be incredibly powerful if I can get it to work, but there are some snags...

Is this due to the generated externs? Does the compiler think `path.dirname` is undefined and then remove the whole statement? I believe I saw a `--jscomp_off checkVars` in the TSCC...

I talked with @revmischa and he says he's just having a goof and that we all want to see this fixed. Glad that's resolved.

Yup, function signature is mistyped, I am working around with `createFile(readStream as unknown as File)`.

@evanw Would it be possible to add an experimental flag and simply not attempt to transpile TLA expressions? I want to tell esbuild not to worry about it, just emit...

Yeah, that flag is now called `—format`. I’ll update the answer shortly. ESM target appropriately includes top-level await because ES Modules allow top-level await. Just saw your edit. I’m going...

Isomorphic `__dirname` is tricky but can be done, you have to make guarantees about the file structure but it can be achieved with a polyfill and added as a banner...

Thank you @eriknyk! `scroll={false}` does solve the problem.

No worries @juergba, I was looking for CI tests as well. I will pull from upstream when that's settled, just ping me here, no rush.