next.js
7cc1f33f - Fix invalid sourcemaps in taskfile-swc (#45604)

Commit
3 years ago
Fix invalid sourcemaps in taskfile-swc (#45604) While debugging locally the generated sourcemaps are incorrect as we aren't stripping `src` from the destination path making them unhelpful. Notice the `packages/src` instead of `packages/next/src`. <details> <summary>Before</summary> ![CleanShot 2023-02-05 at 22 58 37@2x](https://user-images.githubusercontent.com/22380829/216904386-1e214c30-be51-480a-b47f-6c5e1cc6751c.png) </details> <details> <summary>After</summary> ![CleanShot 2023-02-05 at 22 59 30@2x](https://user-images.githubusercontent.com/22380829/216904416-9dce9aaa-a62c-4093-8921-6759eeadd7d1.png) </details>
Author
Parents
Loading