From ca51b831e4403d70562aa278bc70ec7af72ebe0f Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Fri, 17 Jun 2022 10:26:59 +0530 Subject: [PATCH] docs: update note in README.md (#589) --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c09fe98..bf1610e5 100644 --- a/README.md +++ b/README.md @@ -797,7 +797,9 @@ module.exports = { }; ``` -> :warning: [`postcss-preset-env`](https://github.com/csstools/postcss-preset-env) includes [`autoprefixer`](https://github.com/postcss/autoprefixer), so adding it separately is not necessary if you already use the preset. More [information](https://github.com/csstools/postcss-preset-env#autoprefixer) +> **Warning** +> +> [`postcss-preset-env`](https://github.com/csstools/postcss-preset-env) includes [`autoprefixer`](https://github.com/postcss/autoprefixer), so adding it separately is not necessary if you already use the preset. More [information](https://github.com/csstools/postcss-preset-env#autoprefixer) ### PostCSS Preset Env @@ -934,7 +936,9 @@ export default { }; ``` -> :warning: If you are using Babel you need to do the following in order for the setup to work +> **Warning** +> +> If you are using Babel you need to do the following in order for the setup to work > 1. Add [`babel-plugin-add-module-exports`](https://github.com/59naga/babel-plugin-add-module-exports) to your configuration. > 2. You need to have only one **default** export per style module.