Titus
Titus
- What about `__self`? - I think this at least makes sense as a utility similar to [`estree-util-build-jsx`](https://github.com/syntax-tree/estree-util-build-jsx/blob/main/index.js#L243), which is then used here - Preact has some support in their...
We generate JSX. Because otherwise each step needs to know which runtime the user wants, and sometimes they don‘t want to compile it away. Much easier to use JSX as...
> options.file Maybe `filePath`? I don’t see the rest of `file` being used, likely. It also helps that `file.path` does not mean `file.history[0]` (the original file). I don’t see a...
Aren't the positions on nodes enough? 🤔
To add: the default in the above referenced package also uses non-browser features. But, when the `browser` field is explicitly requested, then DOM features are used (because it’s much smaller)....
- Where are you seeing `worker`? - That comment is about *conditions* (see my link for more info on conditions), not *fields*. I understand @alexander-akait as saying that fields fill...
I’m :+1: on conditions. See [my first comment](https://github.com/webpack/webpack/issues/14681#issuecomment-963598357), I propose advocating to make it semistandard by trying to get it documented in Node, and for other bundlers to also support...
I don’t think this has anything to do with `exports`, I want to switch between a file locally. This is about imports, Here’s what I *think* I should do to...
@alexander-akait so I don’t think I can start using an `import` map in packages if most bundlers don’t support it yet. And for the workaround (`resolve: {aliasFields: ['react-native']}`), while it...
raised a PR to “standardize” the condition: https://github.com/nodejs/node/pull/40914