From 33dea63302b6a827590a8c1d796c38706e227a2d Mon Sep 17 00:00:00 2001 From: awcodes Date: Fri, 22 Jul 2022 15:25:55 -0400 Subject: [PATCH] add postcss flag to tailwind scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ca18992..2dccc9f 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "private": true, "scripts": { - "dev:css": "npx tailwindcss -i resources/css/plugin.css -o resources/dist/filament-sticky-header.css --watch", + "dev:css": "npx tailwindcss -i resources/css/plugin.css -o resources/dist/filament-sticky-header.css --postcss --watch", "dev:js": "esbuild resources/js/plugin.js --bundle --sourcemap=inline --target=es2016 --outfile=resources/dist/filament-sticky-header.js --watch", - "build:css": "npx tailwindcss -i resources/css/plugin.css -o resources/dist/filament-sticky-header.css --minify", + "build:css": "npx tailwindcss -i resources/css/plugin.css -o resources/dist/filament-sticky-header.css --postcss --minify", "build:js": "esbuild resources/js/plugin.js --bundle --minify --target=es2016 --outfile=resources/dist/filament-sticky-header.js", "dev": "npm-run-all --parallel dev:*", "build": "npm-run-all build:*"