danielroe / siroc

Zero-config build tooling for Node
MIT License
152 stars 4 forks source link

feat: bump esbuild version to v0.8.x #205

Closed antfu closed 3 years ago

antfu commented 3 years ago

🆒 Your use case

Currently, siroc uses esbuild@0.7.x which is incompatible with Apple M1 chips and causes installing failures. The M1 support for esbuild starts from 0.8.47.

🆕 The solution you'd like

bump esbuild version to v0.8.x, and migrate the API changes.

🔍 Alternatives you've considered Have you considered any alternative solutions or features?

ℹī¸ Additional info Is there any other context you think would be helpful to know?

Installing:

image

Force resolutions with:

  "resolutions": {
    "esbuild": "0.8.52"
  },

The installing works, but siroc build failed:

image

danielroe commented 3 years ago

Thanks for the prompt!