% git clone https://github.com/prometheusresearch/react-ui.git
% cd react-ui
% pnpm install
% make build # observe it takes sooo long
Babel run time shouldn't be so big.
node -v prints: v6.9.1Looks like the issue manifests itself only with --preserve-symlinks activated. Do we require it for recent Node versions? Looks like it works without it also.
That's how flamechart looks for compiling a single file with Babel, Node's algo with the presence of --preserve-symlinks looks suboptimal:

You were faster, I wanted to suggest this:
Could you please also check how it works without preserve-symlinks?
npm config set preserve-symlinks falseYes, much faster that way. What's the story with --preserve-symlinks? Is it required for pnpm to work correctly? Is it going to be deprecated by Node?
Hm... I still see Jest's runtime suffer (make test).
Seems like it is going to be deprecated by Node... But pnpm works fine without --preserve-symlinks since 0.47.0. I was actually waiting for a reason to remove preserve-symlinks, so here it is :smile:
We can make preserve-symlinks false by default once #571 gets merged.
Most helpful comment
We can make
preserve-symlinksfalse by default once #571 gets merged.