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.
|
||||
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()
|
||||
]
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user