From 960015e26b8486d9f0ce6d6dac9bf620bd38c408 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 17 Mar 2019 23:52:58 +0000 Subject: [PATCH] Add postcss-nested --- wp-content/themes/wp-tailwind/package.json | 1 + wp-content/themes/wp-tailwind/webpack.mix.js | 1 + 2 files changed, 2 insertions(+) diff --git a/wp-content/themes/wp-tailwind/package.json b/wp-content/themes/wp-tailwind/package.json index d426c0e..3a70968 100644 --- a/wp-content/themes/wp-tailwind/package.json +++ b/wp-content/themes/wp-tailwind/package.json @@ -10,6 +10,7 @@ "devDependencies": { "cross-env": "^5.2.0", "laravel-mix": "^4.0.14", + "postcss-nested": "^4.1.2", "tailwindcss": "https://github.com/tailwindcss/tailwindcss.git#next" } } diff --git a/wp-content/themes/wp-tailwind/webpack.mix.js b/wp-content/themes/wp-tailwind/webpack.mix.js index 9d8dd17..f197f69 100644 --- a/wp-content/themes/wp-tailwind/webpack.mix.js +++ b/wp-content/themes/wp-tailwind/webpack.mix.js @@ -1,5 +1,6 @@ const mix = require('laravel-mix') mix.postCss('src/css/style.css', '', [ + require('postcss-nested')(), require('tailwindcss')('./tailwind.config.js'), ])