parcel icon indicating copy to clipboard operation
parcel copied to clipboard

PostCSS Sourcemap don't work correctly

Open hrynevychroman opened this issue 1 year ago • 6 comments

🐛 bug report

PostCSS Sourcemap is linking to index.pcss file which has import all other pcss files, but i don't see them in generated sourcemap

🎛 Configuration (.babelrc, package.json, cli command)

Reprodiction link: link

🤔 Expected Behavior

Want to see definitely source files of styles, not only that i am linking in

.

😯 Current Behavior

image

💁 Possible Solution

Tried target config inside package.json, rename files to css, and many more - nothing helped me 😞

🔦 Context

I want to move my newer project from Gulp to Parcel, but with this zero confident sourcemaps it will be imposible to find a bug inside 5k+ lines of code 🥲

💻 Code Sample

Reproduction link on SandBox: link

🌍 Your Environment

Software Version(s)
MacOS Ventura 13.4
Parcel 2.9.2
Node v20.2.0
Pnpm 8.6.1

hrynevychroman avatar Jun 17 '23 21:06 hrynevychroman