Update gatsby-node

This commit is contained in:
wpioneer 2016-06-07 21:44:26 +03:00
parent b8fb3c75ee
commit cacc5c9cf8
3 changed files with 7 additions and 9 deletions

View File

@ -1,6 +0,0 @@
# Browsers that we support
>1%
ie >= 9
safari >= 6
last 3 versions

4
browserslist Normal file
View File

@ -0,0 +1,4 @@
# Browsers that we support
> 1%
Last 2 versions

View File

@ -1,14 +1,14 @@
var rucksack = require('rucksack-css')
var autoprefixer = require('autoprefixer')
var lost = require("lost")
var cssnext = require("postcss-cssnext")
exports.modifyWebpackConfig = function(config, env) {
config.merge({
postcss: [
lost(),
rucksack(),
autoprefixer({
browsers: ['>1%', 'ie >= 10', 'safari >= 6', 'last 3 versions']
cssnext({
browsers: ['>1%', 'last 2 versions']
})
]
})