Skip to content

Commit d193926

Browse files
committed
chore(autoprefixr): switch to browserslist key in package.json
1 parent b448d33 commit d193926

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@
7070
"sassdoc-theme-alix": "^0.5.0",
7171
"vinyl-source-stream": "^2.0.0",
7272
"webextension-polyfill": "^0.4.0"
73-
}
73+
},
74+
"browserslist": ["last 1 versions"]
7475
}

tasks/helpers/options.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ module.exports = {
1212
webextensionmvcsssource: './css/a11y-!(*[*_]*).css',
1313
webextensioncssdest: './webextension/css',
1414
webextensionpolyfill: 'node_modules/webextension-polyfill/dist/browser-polyfill.min.js',
15-
autoprefixer: { browsers: ['last 1 versions'] },
1615
scsslint: { config: 'configs/.scsslint.yml' },
1716
locales: ['en','fr','ru','zh','pt-br', 'gr', 'ar', 'es'],
1817
localesdest: 'sass/locales/',

tasks/sass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module.exports = function () {
99
return gulp.src(options.source)
1010
.pipe(plumber({ errorHandler: onError }))
1111
.pipe(sass({ outputStyle: 'compressed' }).on('error', sass.logError))
12-
.pipe(autoprefixer(options.autoprefixer))
12+
.pipe(autoprefixer())
1313
.pipe(gulp.dest(options.destination));
1414
};

0 commit comments

Comments
 (0)