folke / esbuild-runner

⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
https://www.npmjs.com/package/esbuild-runner
Apache License 2.0
710 stars 24 forks source link

Sibling workspace module's node_modules should not be transpiled #52

Open IlyaSemenov opened 2 years ago

IlyaSemenov commented 2 years ago

The documentation says:

Dependencies defined in package.json or node_modules will never be transpiled.

This is not entirely true. In a pnpm project with multiple workspaces, node_modules coming from a sibling workspace module are transpiled. I believe they should not, similar to the module's own node_modules.