google / tachometer

Statistically rigorous benchmark runner for the web
BSD 3-Clause "New" or "Revised" License
589 stars 21 forks source link

Support for export conditions #231

Open Westbrook opened 2 years ago

Westbrook commented 2 years ago

Is it possible to expand node resolutions of bare module specifiers to include export conditions? While some packages are finally moving into using the technology they aren't always placing their best build in the default specifier and there is need to either point to --conditions="production" or --conditions="development" to correct this. If this is already possible, I'm likely just doing it wrong and it would be great to get some documentation added to clarify this support.

Eldeloro1 commented 2 years ago

https://github.com/Polymer/tachometer/issues/231#issue-1111577967

Eldeloro1 commented 2 years ago

D https://github.com/Polymer/tachometer/issues/231#issue-1111577967

Eldeloro1 commented 2 years ago

D #231 (comment)

Eldeloro1 commented 2 years ago

Is it possible to expand node resolutions of bare module specifiers to include export conditions? While some packages are finally moving into using the technology they aren't always placing their best build in the default specifier and there is need to either point to --conditions="production" or --conditions="development" to correct this. If this is already possible, I'm likely just doing it wrong and it would be great to get some documentation added to clarify this support.