Skip to content

Commit d18a896

Browse files
authored
fix plugin order to loaders (#112)
1 parent 0eabde5 commit d18a896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = postcss.plugin(PLUGIN_NAME, (opts = {}) => {
8282
throw new Error('Plugin missing from options.');
8383
}
8484
const earlierPlugins = result.processor.plugins.slice(0, resultPluginIndex);
85-
const loaderPlugins = [...pluginList, ...earlierPlugins];
85+
const loaderPlugins = [...earlierPlugins, ...pluginList];
8686
const loader = getLoader(opts, loaderPlugins);
8787
const parser = new Parser(loader.fetch.bind(loader));
8888

0 commit comments

Comments
 (0)