next.js
504bfbd2 - fix(turbopack): keep the original sourcemap of styles after source transform (#79700)

Commit
335 days ago
fix(turbopack): keep the original sourcemap of styles after source transform (#79700) ## Why The original sourcemap be lost after source transform. For example, a`xyz.sass` file processed by sass-loader, return a `xyz.sass.css`, the output css chunk only contains the sourcemap of `xyz.sass.css` produced by lightningcss, `xyz.sass` associated sourcemap been lost. ## How Extend lightningcss generated sourcemap with the original sourcemap, see: https://github.com/parcel-bundler/lightningcss/blob/f2dc67c4d3fe92f26693c02366db1e60cae0db27/napi/src/lib.rs#L776 ## Related issue https://github.com/umijs/mako/issues/1915
Author
Parents
Loading