Skip to content

Commit 7bb62e7

Browse files
author
Alban Bailly
committed
Fix autoprefixer warning
1 parent 8ba5fbb commit 7bb62e7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
"gatsby"
4545
],
4646
"license": "MIT",
47+
"browserslist": [
48+
"last 2 version",
49+
"> 2%"
50+
],
4751
"scripts": {
4852
"build": "./getDependencies.sh && gatsby build && node search/buildIndex.js",
4953
"develop": "./getDependencies.sh && gatsby develop",

postcss.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ module.exports = {
1313
plugins: [
1414
atImport,
1515
tailwindcss("./tailwind.js"),
16-
autoprefixer({
17-
browsers: ["last 2 versions", "> 2%"]
18-
}),
16+
autoprefixer(),
1917
cssnano({
2018
preset: "default"
2119
})

0 commit comments

Comments
 (0)