Sourcecode for ix article about esbuild plugin development 2021. The example esbuild plugins will enable sass file transformation and mapping of `@wordpress\\*` packages to global variables without any other esbuild plugins.
u@win10-1:/mnt/c/Users/u/p/github/heise/lgersman/ix-article-esbuild-2021$ [dev]# ./bin/esbuild-bundle.mjs
/usr/bin/env: ‘node\r’: No such file or directory
It's easy to fix, with the help of dos2unix utility or like I did with the help of vim
u@win10-1:/mnt/c/Users/u/p/github/heise/lgersman/ix-article-esbuild-2021$ [dev]# vim bin/esbuild-bundle.mjs
:se ff=unix
:wq!