There is a quick-to-go snippet plugin for preact compatibility, worth to add: https://github.com/evanw/esbuild/issues/266