Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Docs: Correct the order of loaders in postcss-loader example #1076

Merged
merged 1 commit into from
Sep 6, 2018
Merged

Docs: Correct the order of loaders in postcss-loader example #1076

merged 1 commit into from
Sep 6, 2018

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Sep 5, 2018

Since postcss-loader must be applied after sass-loader (and before css-loader) according to:
https://github.com/postcss/postcss-loader#config-cascade

...whereas previously it was being applied before sass-loader, since webpack applies loaders in the order of "last to first".

See:
#1066 (comment)

After merging this, I'll cherrypick to the release/v8 branch.

Since `postcss-loader` must be applied *after* `sass-loader` (and
before `css-loader`) according to:
https://github.com/postcss/postcss-loader#config-cascade

...whereas previously it was being applied *before* `sass-loader`,
since webpack applies loaders in the order of "last to first".

See:
#1066 (comment)
@edmorley edmorley added the docs label Sep 5, 2018
@edmorley edmorley self-assigned this Sep 5, 2018
Copy link
Member

@eliperelman eliperelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@edmorley edmorley removed the request for review from timkelty September 6, 2018 14:39
@edmorley edmorley merged commit bb9b078 into neutrinojs:master Sep 6, 2018
@edmorley edmorley deleted the fix-postcss-docs branch September 6, 2018 14:39
edmorley added a commit that referenced this pull request Sep 6, 2018
…1077)

Since `postcss-loader` must be applied *after* `sass-loader` (and
before `css-loader`) according to:
https://github.com/postcss/postcss-loader#config-cascade

...whereas previously it was being applied *before* `sass-loader`,
since webpack applies loaders in the order of "last to first".

See:
#1066 (comment)

This is the `release/v8` backport of #1076.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants