Skip to content

Instantly share code, notes, and snippets.

@hew
Forked from bcomnes/postcss.config.js
Last active May 16, 2017 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hew/f7b9db0448427aef3361465782f5f100 to your computer and use it in GitHub Desktop.
Save hew/f7b9db0448427aef3361465782f5f100 to your computer and use it in GitHub Desktop.
Simple Postcss Config

Simple Postcss Config

module.exports = {
use: [
'autoprefixer',
'postcss-import',
'postcss-url',
'postcss-browser-reporter',
'postcss-reporter'
],
input: 'index.css',
output: 'dist/bundle.css',
map: 'file',
'postcss-url': {
url: 'copy',
useHash: true,
assetsPath: 'assets'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment