Skip to content

Commit

Permalink
Create postcss.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuell1 authored Apr 30, 2019
1 parent e3fdf03 commit 078b172
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
ident: 'postcss',
syntax: 'postcss-scss',
plugins: {
'postcss-smart-import': {
addDependencyTo: require('webpack')
},
'postcss-url': {
url: 'rebase',
},
'postcss-nested': {},
'postcss-preset-env': {
stage: 3,
},
autoprefixer: {},
cssnano: {
preset: [
'default',
{
discardComments: {
removeAll: true
}
}
]
}
},
};

0 comments on commit 078b172

Please sign in to comment.