esbuild-plugin-inline-worker
esbuild-plugin-inline-worker copied to clipboard
Esbuild loader for inline Web Workers
Hi! Please publish this to `deno.land/x`. The guide is here: https://deno.land/add_module
I understand that this plugin was built with worker inlining in mind - as name suggests. However - there is no plugin available to package web workers as a separate...
See below: ``` ➜ node Welcome to Node.js v16.6.1. Type ".help" for more information. > require('esbuild-plugin-inline-worker') Uncaught: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/pbadenski/workspace/pricingmonkey/pricingmonkey/node_modules/esbuild-plugin-inline-worker/package.json at __node_internal_captureLargerStackTrace (node:internal/errors:464:5) at new...
`esnext` is the default of esbuild- it would make sense to mirror that.