Skip to content

Sourcemap weirdness #180

@ffoodd

Description

@ffoodd

Hi there!

I'm currently working on implementing RTL on Bootstrap v5, and while doing so I noticed that sourcemaps for RTLCSS processed files have some weirdness:

  1. a new source is mentionned, not part of our sources and not a file either;
  2. its path is URL encoded: %3Cinput%20css%202%3E (which results in <input css 2>);
  3. and AFAIK seems to be mapping to the /* rtl:raw */ directive.

So this is not really bug IMHO, however I think this should either be "customized" to mention something like "RTLCSS raw directive" or at least be mentionned somewhere in RTLCSS docs.

I'm not sure customizing sourcemaps in that case is doable, but would be really great 👍

Thanks for your invaluable work, I'd be pleased to have some review from you one day ❤️

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions