Tuesday 28 April 2020

node_modules appearing in Webpack source maps when using Yarn Plug n’ Play

So I started a new project and decided to use the new version of Yarn that has the plug n play functionality.Unfortunately though I am finding that source maps for the packages that I am using in the project are being generated when trying to use the browser dev tools.I’m guessing this is a quirk of how Plug n Play works. I’ve tried playing around with Webpack source map settings to get it to exclude node_modules but haven’t had any luck.Has anyone else experienced this and figured out how to fix it?

Submitted April 28, 2020 at 07:24PM by JaimieP

No comments:

Post a Comment