folke / esbuild-runner

⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild

Home Page:https://www.npmjs.com/package/esbuild-runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sibling workspace module's node_modules should not be transpiled

IlyaSemenov opened this issue · comments

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.