Skip to content

Instantly share code, notes, and snippets.

@kristoferjoseph
Created June 6, 2016 18:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristoferjoseph/16ed0f0d368be2f4610da815d58410a6 to your computer and use it in GitHub Desktop.
Save kristoferjoseph/16ed0f0d368be2f4610da815d58410a6 to your computer and use it in GitHub Desktop.
postcss part of my webpack config
postcss: function() {
return [
postcssImport({
onImport: function (files) {
files.forEach(this.addDependency)
}.bind(this)
}),
customProperties(),
autoprefixer
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment