Skip to content

Commit

Permalink
Update postcss.js (parcel-bundler#2922)
Browse files Browse the repository at this point in the history
Fix parcel-bundler#972

(cherry picked from commit 5993813)
  • Loading branch information
kidandcat authored and karkh committed Aug 7, 2019
1 parent 09c1082 commit 9a79309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/parcel-bundler/src/transforms/postcss.js
Expand Up @@ -52,8 +52,8 @@ async function getConfig(asset) {

if (config.plugins && config.plugins['postcss-modules']) {
postcssModulesConfig = Object.assign(
config.plugins['postcss-modules'],
postcssModulesConfig
postcssModulesConfig,
config.plugins['postcss-modules']
);
delete config.plugins['postcss-modules'];
}
Expand Down

0 comments on commit 9a79309

Please sign in to comment.