Léo Pradel

Results 142 comments of Léo Pradel

Looks like it's not supported by esbuild for now, see: https://github.com/evanw/esbuild/issues/334

Maybe we can make this work with this option yes, just wondering how it will behave if you have mixed files with existing imports or non-existing imports.

A way to do it could be to use this approach to inject React https://medium.com/react-weekly/never-import-react-from-react-again-thanks-to-webpack-s-provideplugin-69e7feb69e#.d5netgw5a

@vviikk Good question, I guess we will have to try to get an answer ahah. If it's not then, enabling this functionality under a flag can be a temporary option...

Using this is a workaround and is not actually using the new JSX transformer from my understanding. Before closing this one we should wait for https://github.com/evanw/esbuild/pull/2349 to be merged in...

For small build (like 5s) you won't see any difference as the biggest part of that time is actually used by webpack. This project is still using webpack along with...

@cjones26 okay that's not normal in that case yeah. The warning you had was fixed in the latest version so maybe you can give it another try?

Happy to accept a pr to add an option for this :)

Published as 0.3.3 thanks for the pr @grigory-bogush

I would be curious to see this one, do you have a reproducible example so I can fix the issue?