Skip to content

Commit

Permalink
Fix issues with using postcss-import plugin and postcss-modules plugin (
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanchez034 authored and egoist committed Jan 24, 2018
1 parent 4870ff8 commit 0897815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/postcss-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {

const modulesExported = {}
if (options.modules) {
plugins.unshift(
plugins.push(
require('postcss-modules')({
generateScopedName: '[name]_[local]__[hash:base64:5]',
...options.modules,
Expand Down

0 comments on commit 0897815

Please sign in to comment.