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:
parent
2a260517c2
commit
29a4c41495
@ -50,9 +50,6 @@ console.log("")
|
|||||||
// Port to use for the development server.
|
// Port to use for the development server.
|
||||||
const PORT = 1337
|
const PORT = 1337
|
||||||
|
|
||||||
// Browsers to target when prefixing CSS.
|
|
||||||
const COMPATIBILITY = ['last 2 versions', 'ie >= 10']
|
|
||||||
|
|
||||||
// paths
|
// paths
|
||||||
const SRC = site.source,
|
const SRC = site.source,
|
||||||
DIST = site.destination,
|
DIST = site.destination,
|
||||||
@ -151,7 +148,7 @@ export const html = () => src(DIST + '/**/*.html')
|
|||||||
// Styles
|
// Styles
|
||||||
//
|
//
|
||||||
const processors = [
|
const processors = [
|
||||||
autoprefixer({ browsers: COMPATIBILITY }),
|
autoprefixer(),
|
||||||
cssnano()
|
cssnano()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -13,6 +13,10 @@
|
|||||||
"start": "gulp",
|
"start": "gulp",
|
||||||
"build": "gulp build --production"
|
"build": "gulp build --production"
|
||||||
},
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"last 2 versions",
|
||||||
|
"ie >= 11"
|
||||||
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap": "^3.3.6",
|
"bootstrap": "^3.3.6",
|
||||||
"jquery": ">=2.1.4",
|
"jquery": ">=2.1.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user