Add postcss-nested

This commit is contained in:
Oliver Davies 2019-03-20 23:18:22 +00:00
parent 44fcbae02b
commit fa3bc889c1
3 changed files with 13 additions and 3 deletions

View file

@ -12,8 +12,9 @@
"laravel-mix": "^4.0.14" "laravel-mix": "^4.0.14"
}, },
"dependencies": { "dependencies": {
"postcss-nested": "^4.1.2",
"tailwindcss": "^1.0.0-beta.3",
"tailwindcss-interaction-variants": "^1.0.0", "tailwindcss-interaction-variants": "^1.0.0",
"tailwindcss-spaced-items": "^0.1.0", "tailwindcss-spaced-items": "^0.1.0"
"tailwindcss": "^1.0.0-beta.3"
} }
} }

View file

@ -3,4 +3,5 @@ let mix = require('laravel-mix')
mix.disableNotifications() mix.disableNotifications()
.postCss('assets/css/app.css', 'source/dist', [ .postCss('assets/css/app.css', 'source/dist', [
require('tailwindcss')(), require('tailwindcss')(),
require('postcss-nested')(),
]) ])

View file

@ -4804,6 +4804,14 @@ postcss-nested@^4.1.1:
postcss "^7.0.6" postcss "^7.0.6"
postcss-selector-parser "^5.0.0-rc.4" postcss-selector-parser "^5.0.0-rc.4"
postcss-nested@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-4.1.2.tgz#8e0570f736bfb4be5136e31901bf2380b819a561"
integrity sha512-9bQFr2TezohU3KRSu9f6sfecXmf/x6RXDedl8CHF6fyuyVW7UqgNMRdWMHZQWuFY6Xqs2NYk+Fj4Z4vSOf7PQg==
dependencies:
postcss "^7.0.14"
postcss-selector-parser "^5.0.0"
postcss-normalize-charset@^4.0.1: postcss-normalize-charset@^4.0.1:
version "4.0.1" version "4.0.1"
resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz#8b35add3aee83a136b0471e0d59be58a50285dd4" resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz#8b35add3aee83a136b0471e0d59be58a50285dd4"
@ -4991,7 +4999,7 @@ postcss@^6.0.1, postcss@^6.0.23, postcss@^6.0.9:
source-map "^0.6.1" source-map "^0.6.1"
supports-color "^5.4.0" supports-color "^5.4.0"
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.11, postcss@^7.0.13, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.11, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7:
version "7.0.14" version "7.0.14"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5" resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5"
integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg== integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg==