parcel-bundler / parcel

The zero configuration build tool for the web. πŸ“¦πŸš€

Home Page:https://parceljs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Offirmo opened this issue Β· 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.