parcel icon indicating copy to clipboard operation
parcel copied to clipboard

"@parcel/packager-css: Unsupported layer combination in @import"

Open Offirmo opened this issue 1 year ago • 1 comments

🙋 feature request

The great Parcel bundler is now supporting CSS layers! However it's throwing an error at my face: "@parcel/packager-css: Unsupported layer combination in @import"

I trust Parcel and I'm sure I did something wrong. However the error message is not helpful and despite carefully reviewing all my CSS, I can't find the issue at all. Could the error message log what CSS line causes the issue?

🤔 Expected Behavior

The error message would be accompanied by some sort of stack trace.

😯 Current Behavior

🚨 Build failed.

@parcel/packager-css: Unsupported layer combination in @import

  SyntaxError: Unsupported layer combination in @import

No stack trace, I can't find what causes the error.

💁 Possible Solution

How about printing the @import ... line that is causing an issue? Or any kind of stack trace.

Offirmo avatar Apr 14 '24 10:04 Offirmo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

github-actions[bot] avatar Oct 11 '24 12:10 github-actions[bot]