From 11d59d78be05196f78cccf751884a61c9ffe8af3 Mon Sep 17 00:00:00 2001 From: Kunthawat Date: Tue, 10 Mar 2026 13:48:02 +0700 Subject: [PATCH] fix: Build dependencies and PostCSS config --- package-lock.json | 28 ++++++++++++++++++++++++++++ package.json | 1 + postcss.config.cjs | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index d00876317..10d5c0824 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,9 +15,23 @@ "tailwindcss": "^4.2.1" }, "devDependencies": { + "@tailwindcss/postcss": "^4.2.1", "autoprefixer": "^10.4.27" } }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@astrojs/compiler": { "version": "2.13.1", "resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-2.13.1.tgz", @@ -1920,6 +1934,20 @@ "node": ">= 20" } }, + "node_modules/@tailwindcss/postcss": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.2.1.tgz", + "integrity": "sha512-OEwGIBnXnj7zJeonOh6ZG9woofIjGrd2BORfvE5p9USYKDCZoQmfqLcfNiRWoJlRWLdNPn2IgVZuWAOM4iTYMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "@tailwindcss/node": "4.2.1", + "@tailwindcss/oxide": "4.2.1", + "postcss": "^8.5.6", + "tailwindcss": "4.2.1" + } + }, "node_modules/@tailwindcss/vite": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.2.1.tgz", diff --git a/package.json b/package.json index 8f11b3e4f..e7518b8a2 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "tailwindcss": "^4.2.1" }, "devDependencies": { + "@tailwindcss/postcss": "^4.2.1", "autoprefixer": "^10.4.27" } } diff --git a/postcss.config.cjs b/postcss.config.cjs index 12a703d90..b4bee6635 100644 --- a/postcss.config.cjs +++ b/postcss.config.cjs @@ -1,6 +1,6 @@ module.exports = { plugins: { - tailwindcss: {}, + '@tailwindcss/postcss': {}, autoprefixer: {}, }, };