serverless-plugin-typescript icon indicating copy to clipboard operation
serverless-plugin-typescript copied to clipboard

Add option to dereference symlinks

Open willmcclellan opened this issue 6 years ago • 7 comments

Adds the dereference option to flatten symlinks when copying node_modules. This is useful in lerna environments which might symlink a node_module within the same project.

https://github.com/jprichardson/node-fs-extra/blob/HEAD/docs/copy-sync.md

willmcclellan avatar Oct 29 '19 06:10 willmcclellan

+1 I've been using this with in a serverless monorepo along side serverless-plugin-monorepo. Would be good to see this merged.

MrBlenny avatar Jan 07 '20 23:01 MrBlenny

Would this make serverless-plugin-monorepo obsolete?

michelalbers avatar Jun 19 '20 13:06 michelalbers

+1 Could we possible have this merged? It's a areal blocker when a monorepo is used.

We use pnpm and have to patch this with patch-package :(

pioneer32 avatar Feb 17 '22 07:02 pioneer32

Please merge this. This allows usage of this plugin in a monorepo setup where node_module deps are symlinked.

chinanderm avatar Dec 07 '22 00:12 chinanderm

Bumping, can we possibly get this merged please? 🙏 Solved all of my issues while working in a monorepo (managed with pnpm).

adhorodyski avatar Jan 21 '23 13:01 adhorodyski

+1 Could we possible have this merged? It's a areal blocker when a monorepo is used.

We use pnpm and have to patch this with patch-package :(

How do you also include subdependencies in a bundle? I noticed this PR to help only with direct deps, but their deps are not being included.

adhorodyski avatar Jan 23 '23 10:01 adhorodyski

Is this project dead?

chinanderm avatar Jan 26 '23 18:01 chinanderm