You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m building a TypeScript package from a PNPM monorepo using tsc, but I can’t copy node_modules into the built ./dist folder because symlinks for internal packages aren’t copied. Using pnpm --filter my-package deploy ./deployed works, but it’s not an elegant solution.
I know that using a bundler like esbuild or webpack would probably fix this, but I’m looking for a more elegant and straightforward solution. Any suggestions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’m building a TypeScript package from a PNPM monorepo using
tsc
, but I can’t copynode_modules
into the built./dist
folder because symlinks for internal packages aren’t copied. Usingpnpm --filter my-package deploy ./deployed
works, but it’s not an elegant solution.I know that using a bundler like
esbuild
orwebpack
would probably fix this, but I’m looking for a more elegant and straightforward solution. Any suggestions?Beta Was this translation helpful? Give feedback.
All reactions