Replace sass with PostCSS

This commit is contained in:
Oliver Davies 2019-03-09 20:17:54 +00:00
parent e19ee047f3
commit 1df95970b2
4 changed files with 8 additions and 4 deletions

6
assets/css/app.css Normal file
View file

@ -0,0 +1,6 @@
@tailwind preflight;
@tailwind components;
@tailwind utilities;

View file

@ -1,3 +0,0 @@
@tailwind preflight
@tailwind components
@tailwind utilities

View file

@ -4,7 +4,7 @@ require('laravel-mix-purgecss');
require('laravel-mix-tailwind'); require('laravel-mix-tailwind');
mix.disableNotifications() mix.disableNotifications()
.sass('assets/sass/app.sass', 'source/dist/css') .postCss('assets/css/app.css', 'source/dist/css')
.js(['node_modules/vue/dist/vue.js', 'assets/js/app.js'], 'source/dist/js/all.js') .js(['node_modules/vue/dist/vue.js', 'assets/js/app.js'], 'source/dist/js/all.js')
.tailwind() .tailwind()
.purgeCss({ .purgeCss({

View file

@ -1784,6 +1784,7 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
cross-env@^5.2.0: cross-env@^5.2.0:
version "5.2.0" version "5.2.0"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"
integrity sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==
dependencies: dependencies:
cross-spawn "^6.0.5" cross-spawn "^6.0.5"
is-windows "^1.0.0" is-windows "^1.0.0"