diff --git a/src/node/utils/cssUtils.ts b/src/node/utils/cssUtils.ts index 3c999ee5036c42..d3c7e95b727ffb 100644 --- a/src/node/utils/cssUtils.ts +++ b/src/node/utils/cssUtils.ts @@ -70,7 +70,7 @@ export async function compileCss( const postcssOptions = postcssConfig && postcssConfig.options const postcssPlugins = postcssConfig ? postcssConfig.plugins : [] - postcssPlugins.push(require('postcss-import')()) + postcssPlugins.unshift(require('postcss-import')()) const res = await compileStyleAsync({ source,