From a59c987c44084869898f6f9ca3a06bcedf307d94 Mon Sep 17 00:00:00 2001 From: rrubas Date: Mon, 26 Dec 2016 13:25:45 +0100 Subject: [PATCH 1/2] added how to disable autoprefix feature in doc --- packages/react-scripts/template/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index fe4e7b31b12..a01be2133e9 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -331,6 +331,18 @@ becomes this: } ``` +You can use control comment to disable [Autoprefixer](https://github.com/postcss/autoprefixer) feature. + +```css +/* autoprefixer: off */ + +.App { + display: flex; + flex-direction: row; + align-items: center; +} +``` + There is currently no support for preprocessors such as Less, or for sharing variables across CSS files. ## Adding Images and Fonts From e8254ce897fbd18f66ad13819f66c76c6ce6b7b8 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sun, 12 Feb 2017 02:00:55 +0000 Subject: [PATCH 2/2] Just link to the doc --- packages/react-scripts/template/README.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index a01be2133e9..36b6cf911ef 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -331,19 +331,7 @@ becomes this: } ``` -You can use control comment to disable [Autoprefixer](https://github.com/postcss/autoprefixer) feature. - -```css -/* autoprefixer: off */ - -.App { - display: flex; - flex-direction: row; - align-items: center; -} -``` - -There is currently no support for preprocessors such as Less, or for sharing variables across CSS files. +If you need to disable autoprefixing for some reason, [follow this section](https://github.com/postcss/autoprefixer#disabling). ## Adding Images and Fonts