Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

style-loader/useable: There is a need to be able to control the order of inserting styles. #326

Copy link
Copy link

Description

@budarin
Issue body actions

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
When call stylesheet.use() - styles added on to a page in order as they were added - one after previous

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
React has a reverse order of calling the component (style.use() called into each component in our project) so there may be a conflict of style overrides.
Styles should be inserted in reversed order - one before previous

If this is a feature request, what is motivation or use case for changing the behavior?
there is no any other ability to control the insertion order of styles

Please mention other relevant information such as your webpack version, Node.js version and Operating System.
"webpack": "4.8.1",
"style-loader": "^0.21.0",
node: 10.0.0
OS: Windows Server 2008R2

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.