Open btomaj opened 4 months ago
We're labeling this issue as stale because there hasn't been any activity on it for 60 days. While the issue will stay open and we hope to resolve it, this helps us prioritize community requests.
You can add a comment to remove the label if it's still relevant, and we can re-evaluate it.
Issue summary
Before opening this issue, I have:
@shopify/*
package and version:{ logger: { level: LogSeverity.Debug } }
in my configuration, when applicableESM source maps don't point to the source file because they go up 7 directories instead of the correct 5, for example:
../../../../../../../rest/admin/2024-04/index.ts
instead of the correct../../../../../rest/admin/2024-04/index.ts
Expected behavior
Source maps point to the source file.
Actual behavior
Source maps don't point to the source file because
Steps to reproduce the problem
Debug logs
When building and aliasing to the local project, and running
shopify app dev
using the aliased local project: