mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
Update gatsby-node
This commit is contained in:
parent
b8fb3c75ee
commit
cacc5c9cf8
@ -1,6 +0,0 @@
|
|||||||
# Browsers that we support
|
|
||||||
|
|
||||||
>1%
|
|
||||||
ie >= 9
|
|
||||||
safari >= 6
|
|
||||||
last 3 versions
|
|
4
browserslist
Normal file
4
browserslist
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Browsers that we support
|
||||||
|
|
||||||
|
> 1%
|
||||||
|
Last 2 versions
|
@ -1,14 +1,14 @@
|
|||||||
var rucksack = require('rucksack-css')
|
var rucksack = require('rucksack-css')
|
||||||
var autoprefixer = require('autoprefixer')
|
|
||||||
var lost = require("lost")
|
var lost = require("lost")
|
||||||
|
var cssnext = require("postcss-cssnext")
|
||||||
|
|
||||||
exports.modifyWebpackConfig = function(config, env) {
|
exports.modifyWebpackConfig = function(config, env) {
|
||||||
config.merge({
|
config.merge({
|
||||||
postcss: [
|
postcss: [
|
||||||
lost(),
|
lost(),
|
||||||
rucksack(),
|
rucksack(),
|
||||||
autoprefixer({
|
cssnext({
|
||||||
browsers: ['>1%', 'ie >= 10', 'safari >= 6', 'last 3 versions']
|
browsers: ['>1%', 'last 2 versions']
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user