Commit 1eacfff3 authored by Nikolay Gromov's avatar Nikolay Gromov

Вынес настройки browserslist (autoprefixer ect.) в package.json

parent e6aa5788
......@@ -58,9 +58,7 @@ const isDev = !process.env.NODE_ENV || process.env.NODE_ENV == 'dev';
// Перечисление и настройки плагинов postCSS, которыми обрабатываются стилевые файлы
let postCssPlugins = [
autoprefixer({
browsers: ['last 2 version']
}),
autoprefixer(), // настройки вынесены в package.json, дабы получать их для любой задачи
mqpacker({
sort: true
}),
......
......@@ -18,6 +18,10 @@
"lint-staged": "lint-staged",
"precommit": "lint-staged && gulp test:pug"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"lint-staged": {
"*.js": "editorconfig-cli",
"*.pug": "editorconfig-cli",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment