diff --git a/README.md b/README.md index 0079b2880..7c9ca4d7a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,8 @@ node --experimental-transform-types --import="amaro/transform" file.ts #### Type stripping in dependencies -Contrary to the Node.js [TypeScript support](https://nodejs.org/docs/latest/api/typescript.html#type-stripping-in-dependencies), when used as a loader, Amaro handles TypeScript files inside folders under a `node_modules` path. +When used as a loader, Amaro still relies on Node.js module loading. For this reason when trying to execute files under `node_modules` it throws +`ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`. As a result, type stripping in dependencies does not work. ### Monorepo usage