From 18158f8e0d79c82abb78d34a928b53376775ad43 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Fri, 10 Nov 2023 14:21:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0`postcss.config.js`?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=BA`esm`=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 2 +- postcss.config.cjs => postcss.config.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) rename postcss.config.cjs => postcss.config.js (69%) diff --git a/.eslintignore b/.eslintignore index d975bb3f5..2b6018d4d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -6,7 +6,7 @@ package.json .eslintrc.cjs .prettierrc.js commitlint.config.js -postcss.config.cjs +postcss.config.js tailwind.config.ts stylelint.config.cjs src/components/ReSplitPane/iconfont diff --git a/postcss.config.cjs b/postcss.config.js similarity index 69% rename from postcss.config.cjs rename to postcss.config.js index f479069f0..86239486c 100644 --- a/postcss.config.cjs +++ b/postcss.config.js @@ -1,4 +1,7 @@ -module.exports = { +// @ts-check + +/** @type {import('postcss-load-config').Config} */ +export default { plugins: { "postcss-import": {}, "tailwindcss/nesting": {},