Skip to content

[v4.3] Including mixins multiple times shouldn't warn about RFS #28235

@lucagouty

Description

@lucagouty

Hi everyone, I'm opening this issue after a quick talk with @MartijnCuppens here : twbs/rfs#50 (comment)

Before 4.3.0, importing ~bootstrap/scss/mixins multiple times was ok, but now we get a warning :

WARNING: Watch out, RFS is included more than once!

Warning comes from scss/vendor/_rfs.scss imported in scss/_mixins.scss

In my opinion bootstrap should not warn for this, especially as there's no warning of that kind elsewhere (so doing it only for _mixins.scss seems weird, as at the end it won't generate any duplicated css).

Feel free to read my comment to rfs project for more details.

I'd be pleased to make a PR removing this warning, though as it's vendor/_rfs maybe we should do it in https://github.com/twbs/rfs instead.

Let me know, and have a good day guys 👋

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions