Created
September 14, 2016 09:17
-
-
Save glennreyes/5d300b3c8c06480e29f678ade832c546 to your computer and use it in GitHub Desktop.
Custom props & media config in webpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const customMedia = require('./postcss/customMedia'); | |
const customProperties = require('./postcss/customProperties'); | |
module.exports = { | |
... | |
plugins: [ | |
postcss: () => [ | |
postcss: () => [ | |
cssnext({ features: { customMedia, customProperties } }), | |
], | |
] | |
] | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment