From 1df95970b24b1eae453dcb2bb83fb7639c27cd8e Mon Sep 17 00:00:00 2001 From: Oliver Davies <> Date: Sat, 9 Mar 2019 20:17:54 +0000 Subject: [PATCH] Replace sass with PostCSS --- assets/css/app.css | 6 ++++++ assets/sass/app.sass | 3 --- webpack.mix.js | 2 +- yarn.lock | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 assets/css/app.css delete mode 100644 assets/sass/app.sass diff --git a/assets/css/app.css b/assets/css/app.css new file mode 100644 index 0000000..d6cad53 --- /dev/null +++ b/assets/css/app.css @@ -0,0 +1,6 @@ +@tailwind preflight; + +@tailwind components; + +@tailwind utilities; + diff --git a/assets/sass/app.sass b/assets/sass/app.sass deleted file mode 100644 index 9de43e3..0000000 --- a/assets/sass/app.sass +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind preflight -@tailwind components -@tailwind utilities diff --git a/webpack.mix.js b/webpack.mix.js index 53418c8..fc34ee7 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -4,7 +4,7 @@ require('laravel-mix-purgecss'); require('laravel-mix-tailwind'); 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') .tailwind() .purgeCss({ diff --git a/yarn.lock b/yarn.lock index bcb5947..4af0251 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1784,6 +1784,7 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: cross-env@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2" + integrity sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg== dependencies: cross-spawn "^6.0.5" is-windows "^1.0.0"