]> cat aescling's git repositories - mastodon.git/commitdiff
Add browserslist config for autoprefixer (#3053)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Sun, 14 May 2017 10:57:54 +0000 (19:57 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 14 May 2017 10:57:54 +0000 (12:57 +0200)
We will reduce the weight of the style sheet by specifying the target web browser of autoprefixer.

.postcssrc.yml

index bc4f02ab33dbbdfe52a637f56ff75723a9a0e40a..220fe0bb93422b591680d6c0ea8cbaec7d6c9dca 100644 (file)
@@ -1,4 +1,8 @@
 plugins:
   postcss-smart-import: {}
   precss: {}
-  autoprefixer: {}
+  autoprefixer:
+    browsers:
+      - last 2 versions
+      - IE >= 11
+      - iOS >= 9