Skip to content

Commit

Permalink
fix(postcss): do not output custom properties in resulting css
Browse files Browse the repository at this point in the history
Because this creates a lot of duplication when importing css variables
files in other css files which are then imported via js.
See:
- postcss/postcss-import#316
- postcss/postcss-import#294
- postcss/postcss-import#224
  • Loading branch information
ZauberNerd committed Aug 22, 2018
1 parent a6d68fe commit 981e413
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/postcss/mixin.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ const getCSSLoaderConfig = browsers => ({
features: {
'nesting-rules': true,
'custom-media-queries': true,
'custom-properties': {
preserve: false,
},
},
}),
],
Expand Down

0 comments on commit 981e413

Please sign in to comment.