esbuild
esbuild copied to clipboard
Move esbuild to the NPM @esbuild scope
This is my take on https://github.com/phoenixframework/esbuild/issues/52. It's not ready until the new breaking version number of esbuild is known for sure.
Looks great! A couple notes:
- Let's bump the esbuild version once the release is out
- Let's update the manual install instructions in Esbuild moduledoc :)
- Totally agree - will do
- Good point - will do
Found one more issue with my solution.
target()
is used in bin_path()
→ https://github.com/phoenixframework/esbuild/blob/main/lib/esbuild.ex#L128
Means nearly everyone needs to reinstall via mix esbuild.install
...
I could additionally do a Version.compare/2
in bin_path()
or one in target()
and move legacy targets to the target()
function.
Means nearly everyone needs to reinstall via mix esbuild.install...
Well, they will have to reinstall once they change the version or update this package with a new version, so that's ok. :)
Right, sounds good. Thank you.
❤️❤️❤️🐥🔥