1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-02-01 12:29:49 +01:00

move browserslist to package.json

This commit is contained in:
Matthias Kretschmann 2017-05-28 04:24:33 +02:00
parent 2a260517c2
commit 29a4c41495
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 5 additions and 4 deletions

View File

@ -50,9 +50,6 @@ console.log("")
// Port to use for the development server.
const PORT = 1337
// Browsers to target when prefixing CSS.
const COMPATIBILITY = ['last 2 versions', 'ie >= 10']
// paths
const SRC = site.source,
DIST = site.destination,
@ -151,7 +148,7 @@ export const html = () => src(DIST + '/**/*.html')
// Styles
//
const processors = [
autoprefixer({ browsers: COMPATIBILITY }),
autoprefixer(),
cssnano()
]

View File

@ -13,6 +13,10 @@
"start": "gulp",
"build": "gulp build --production"
},
"browserslist": [
"last 2 versions",
"ie >= 11"
],
"dependencies": {
"bootstrap": "^3.3.6",
"jquery": ">=2.1.4",