Published sourcemaps contain absolute paths in publisher's home directory #13883
Labels
Needs Technical Feedback
Needs testing from a developer perspective.
npm Packages
Related to npm packages
[Type] Bug
An existing feature does not function as intended
[Type] Build Tooling
Issues or PRs related to build tooling
@wordpress/api-fetch
package into your project.node_modules/@wordpress/api-fetch/build/index.js.map
file.The
sources
field near the beginning contains an absolute path into Riads home directory:I discovered this when upgrading Calypso to Jest 24.1 in Automattic/wp-calypso#30434. Jest uses sourcemaps to show error stack traces, which are therefore confusing:
(don't pay much attention to the
regeneratorRuntime
error, it's not related to this bug)The text was updated successfully, but these errors were encountered: