Skip to content

Commit

Permalink
[server] Configure custom properties with preserve: false (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored Feb 16, 2018
1 parent 1b0c248 commit 2a1d5d7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/@sanity/server/src/configs/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ const webpackIntegration = require('@sanity/webpack-integration/v3')

module.exports = {
plugins: webpackIntegration.getPostcssPlugins({
basePath: resolveProjectRoot({sync: true})
basePath: resolveProjectRoot({sync: true}),
cssnext: {
features: {
customProperties: {
preserve: false
}
}
}
})
}

0 comments on commit 2a1d5d7

Please sign in to comment.