Skip to content

Commit 61aaee2

Browse files
committed
Revert "fix: Move trim and scoped postcss plugins at the start of plugin list (#36)"
This reverts commit 0d52d86.
1 parent 2603ee2 commit 61aaee2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/compileStyle.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ export function doCompileStyle(
6262
const source = preProcessedSource ? preProcessedSource.code : options.source
6363

6464
const plugins = (postcssPlugins || []).slice()
65-
if (scoped) {
66-
plugins.unshift(scopedPlugin(id))
67-
}
6865
if (trim) {
69-
plugins.unshift(trimPlugin())
66+
plugins.push(trimPlugin())
67+
}
68+
if (scoped) {
69+
plugins.push(scopedPlugin(id))
7070
}
7171

7272
const postCSSOptions: ProcessOptions = {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy