folke / esbuild-runner

⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
https://www.npmjs.com/package/esbuild-runner
Apache License 2.0
712 stars 24 forks source link

ESBuild should be a peer dependency to allow user specify their versions #16

Closed zen0wu closed 3 years ago

zen0wu commented 3 years ago

Hello! Thanks for this awesome project, it's really cool!

The only thing that blocks me from using it is esbuild version is hardcoded hence I cannot use the latest version. Could we make it a peerDependencies? Thanks!

IlyaSemenov commented 3 years ago

Just a heads up, you can temporary use yarn resolutions in package.json:

{
  "resolutions": {
    "esbuild-runner/esbuild": "*"
  }
}

Too bad this project is stalled.

folke commented 3 years ago

Just pushed a fix to make this a peer dependency