Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
How do I correctly sourcemap in a multi-package monorepo built with yarn workspaces?

I have a yarn workspace with two packages

  • PackageA
  • PackageB

PackageB depends on PackageA, so there is a symlink in the root node_modules to PackageA. When I build and run PackageB, it correctly follows PackageA/package.json#browser -> PackageA/dist/umd/index.js and executes that code.

What I would like is to sourcemap PackageA/dist/umd/index.js to the TypeScript source (PackageA/src) from which it is built.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!