From c743d1efdadeccdb5809f0f9dbdfef185557741d Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Sat, 22 Aug 2020 20:07:17 -0500 Subject: [PATCH] Updated postcss config --- examples/cms-kontent/package.json | 3 ++- examples/cms-kontent/postcss.config.js | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/examples/cms-kontent/package.json b/examples/cms-kontent/package.json index 264effabac386..e6d45eb5cc82f 100644 --- a/examples/cms-kontent/package.json +++ b/examples/cms-kontent/package.json @@ -19,7 +19,8 @@ "rxjs": "^6.6.2" }, "devDependencies": { + "postcss-flexbugs-fixes": "^4.2.1", "postcss-preset-env": "^6.7.0", - "tailwindcss": "^1.4.0" + "tailwindcss": "^1.7.3" } } diff --git a/examples/cms-kontent/postcss.config.js b/examples/cms-kontent/postcss.config.js index b6195022df1e7..6f2d25c4e3509 100644 --- a/examples/cms-kontent/postcss.config.js +++ b/examples/cms-kontent/postcss.config.js @@ -1,3 +1,18 @@ module.exports = { - plugins: ['tailwindcss', 'postcss-preset-env'], + plugins: [ + 'tailwindcss', + 'postcss-flexbugs-fixes', + [ + 'postcss-preset-env', + { + autoprefixer: { + flexbox: 'no-2009', + }, + stage: 3, + features: { + 'custom-properties': false, + }, + }, + ], + ], }