Open lortonx opened 5 months ago
Hello!
Since esbuild does not provide an API to add entrypoints to the current build, meta-url and worker plugins need to invoke a new esbuild build. The very same configuration is used, so plugins are loaded N times.
I am not sure how to solve this issue 🤔
@chialab/esbuild-plugin-meta-url @chialab/esbuild-plugin-worker
cant live with
esbuild-plugin-dev-server or @jgoz/esbuild-plugin-livereload
After I commented out these two plugins, the port error disappeared.
It seems the server plugin is called multiple times. It can be fixed?