From cbe379ab8788ab709b15db1397694fa9cccf693d Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Wed, 16 Aug 2023 14:00:22 +0100 Subject: [PATCH] add css imports option --- package.json | 1 + pnpm-lock.yaml | 9 ++++++--- postcss.config.js | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e6e3014..157467b 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "pagefind": "^0.12.0", "postcss": "^8.4.24", "postcss-html": "^1.5.0", + "postcss-import": "^15.1.0", "prettier": "^2.8.8", "prettier-plugin-astro": "0.10.0", "prettier-plugin-tailwindcss": "^0.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3e9b242..5369752 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,6 +94,9 @@ devDependencies: postcss-html: specifier: ^1.5.0 version: 1.5.0 + postcss-import: + specifier: ^15.1.0 + version: 15.1.0(postcss@8.4.24) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -2161,8 +2164,8 @@ packages: resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==} dependencies: debug: 3.2.7 - is-core-module: 2.11.0 - resolve: 1.22.1 + is-core-module: 2.12.1 + resolve: 1.22.2 transitivePeerDependencies: - supports-color dev: true @@ -4705,7 +4708,7 @@ packages: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true dependencies: - is-core-module: 2.11.0 + is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true diff --git a/postcss.config.js b/postcss.config.js index bab04a4..720b569 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,5 +1,6 @@ module.exports = { plugins: { + "postcss-import": {}, "tailwindcss/nesting": {}, tailwindcss: {}, autoprefixer: {},