firebase / firebase-tools

The Firebase Command Line Tools
MIT License
3.97k stars 916 forks source link

Use esbuild lib instead of npx #7395

Open chalosalvador opened 6 days ago

chalosalvador commented 6 days ago

Description

Scenarios Tested

Sample Commands

leoortizz commented 6 days ago

@jamesdaniels this would address #7250 and #6193, WDYT?

jamesdaniels commented 2 days ago

We use to do this. The trouble here is that firebase-tools pins dependencies. So we were pinning to a version of esbuild that was not supported on customer's machines, be it node version or architecture.

Perhaps we could be smart and do some equivalent of "npm install" and "npm which"