Skip to content

.css and .st.css files are not included in the head in deterministic order #1047

Open
@alisey

Description

@alisey

I have the following list of imports:

import '@wixc3/wcs-components/src/themes/reset.css';
import '@wixc3/wcs-components/src/themes/global.st.css';

Sometimes reset.css appears first in the head, and sometimes global.st.css. If I rename reset.css to reset.st.css it always appears first, as expected.

Not sure if this is more related to Stylable, or to Webpack configuration. If it's the latter, we should document this and suggest a workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    integrationBundler, test-runner and node

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions