diff --git a/package.json b/package.json index c478bc17..f9bb3975 100755 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "h3": "^1.11.1", "pathe": "^1.1.2", "postcss": "^8.4.33", - "postcss-custom-properties": "^13.3.6", "postcss-nesting": "^12.1.0", "tailwind-config-viewer": "^1.7.3", "tailwindcss": "~3.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebfd2b79..0c92343e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,9 +32,6 @@ importers: postcss: specifier: ^8.4.33 version: 8.4.33 - postcss-custom-properties: - specifier: ^13.3.6 - version: 13.3.6(postcss@8.4.33) postcss-nesting: specifier: ^12.1.0 version: 12.1.0(postcss@8.4.33) @@ -508,31 +505,6 @@ packages: dependencies: mime: 3.0.0 - /@csstools/cascade-layer-name-parser@1.0.9(@csstools/css-parser-algorithms@2.6.1)(@csstools/css-tokenizer@2.2.4): - resolution: {integrity: sha512-RRqNjxTZDUhx7pxYOBG/AkCVmPS3zYzfE47GEhIGkFuWFTQGJBgWOUUkKNo5MfxIfjDz5/1L3F3rF1oIsYaIpw==} - engines: {node: ^14 || ^16 || >=18} - peerDependencies: - '@csstools/css-parser-algorithms': ^2.6.1 - '@csstools/css-tokenizer': ^2.2.4 - dependencies: - '@csstools/css-parser-algorithms': 2.6.1(@csstools/css-tokenizer@2.2.4) - '@csstools/css-tokenizer': 2.2.4 - dev: false - - /@csstools/css-parser-algorithms@2.6.1(@csstools/css-tokenizer@2.2.4): - resolution: {integrity: sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==} - engines: {node: ^14 || ^16 || >=18} - peerDependencies: - '@csstools/css-tokenizer': ^2.2.4 - dependencies: - '@csstools/css-tokenizer': 2.2.4 - dev: false - - /@csstools/css-tokenizer@2.2.4: - resolution: {integrity: sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==} - engines: {node: ^14 || ^16 || >=18} - dev: false - /@csstools/selector-resolve-nested@1.1.0(postcss-selector-parser@6.0.15): resolution: {integrity: sha512-uWvSaeRcHyeNenKg8tp17EVDRkpflmdyvbE0DHo6D/GdBb6PDnCYYU6gRpXhtICMGMcahQmj2zGxwFM/WC8hCg==} engines: {node: ^14 || ^16 || >=18} @@ -551,15 +523,6 @@ packages: postcss-selector-parser: 6.0.15 dev: false - /@csstools/utilities@1.0.0(postcss@8.4.33): - resolution: {integrity: sha512-tAgvZQe/t2mlvpNosA4+CkMiZ2azISW5WPAcdSalZlEjQvUfghHxfQcrCiK/7/CrfAWVxyM88kGFYO82heIGDg==} - engines: {node: ^14 || ^16 || >=18} - peerDependencies: - postcss: ^8.4 - dependencies: - postcss: 8.4.33 - dev: false - /@egoist/tailwindcss-icons@1.7.2(tailwindcss@3.4.1): resolution: {integrity: sha512-fDYqnkTJOwZGDlHsN3aKqXy8AtiapDzflZoFB6bAZCd67YK6sDTFceoC89HZbvcnbILpp6SO7q1bQ8i8R3PWaw==} peerDependencies: @@ -3335,11 +3298,11 @@ packages: '@unocss/core': 0.58.3 '@unocss/preset-uno': 0.58.3 cac: 6.7.14 - chokidar: 3.5.3 + chokidar: 3.6.0 colorette: 2.0.20 consola: 3.2.3 fast-glob: 3.3.2 - magic-string: 0.30.5 + magic-string: 0.30.8 pathe: 1.1.2 perfect-debounce: 1.0.0 transitivePeerDependencies: @@ -3404,7 +3367,7 @@ packages: '@unocss/rule-utils': 0.58.3 css-tree: 2.3.1 fast-glob: 3.3.2 - magic-string: 0.30.5 + magic-string: 0.30.8 postcss: 8.4.33 /@unocss/postcss@0.58.3(postcss@8.4.38): @@ -3432,7 +3395,7 @@ packages: dependencies: '@iconify/utils': 2.1.14 '@unocss/core': 0.58.3 - ofetch: 1.3.3 + ofetch: 1.3.4 transitivePeerDependencies: - supports-color @@ -3466,7 +3429,7 @@ packages: resolution: {integrity: sha512-g+ru8gX74uZVSfKgdSGp46XQ+wMr66Hp3wtI01yyu9wqmJRAVWQmeehFYZ0hDnGgX20veYSbG+ybZfxIKeTy6w==} dependencies: '@unocss/core': 0.58.3 - ofetch: 1.3.3 + ofetch: 1.3.4 /@unocss/preset-wind@0.58.3: resolution: {integrity: sha512-/YhvKDFGnTNvKxNaBv1dazHaqNmBM0Ulh0U9lhycGz11qsJTQSl/Y9ZP64fVC7fuo+Uiaj8AN/9gpmpVrCgt4A==} @@ -3483,7 +3446,7 @@ packages: engines: {node: '>=14'} dependencies: '@unocss/core': 0.58.3 - magic-string: 0.30.5 + magic-string: 0.30.8 /@unocss/scope@0.58.3: resolution: {integrity: sha512-Bkf6sk/0wry+fa5P8eLnzjC4pdrRlBY29g4F64qjsMBR0gk0stFRNzeoMOk412gmJXWjjlAQgNYiBZDHoPghZw==} @@ -3532,9 +3495,9 @@ packages: '@unocss/inspector': 0.58.3 '@unocss/scope': 0.58.3 '@unocss/transformer-directives': 0.58.3 - chokidar: 3.5.3 + chokidar: 3.6.0 fast-glob: 3.3.2 - magic-string: 0.30.5 + magic-string: 0.30.8 vite: 5.2.6 transitivePeerDependencies: - rollup @@ -8928,20 +8891,6 @@ packages: postcss: 8.4.38 postcss-value-parser: 4.2.0 - /postcss-custom-properties@13.3.6(postcss@8.4.33): - resolution: {integrity: sha512-vVVIwQbJiIz+PBLMIWA6XMi53Zg66/f474KolA7x0Das6EwkATc/9ZvM6zZx2gs7ZhcgVHjmWBbHkK9FlCgLeA==} - engines: {node: ^14 || ^16 || >=18} - peerDependencies: - postcss: ^8.4 - dependencies: - '@csstools/cascade-layer-name-parser': 1.0.9(@csstools/css-parser-algorithms@2.6.1)(@csstools/css-tokenizer@2.2.4) - '@csstools/css-parser-algorithms': 2.6.1(@csstools/css-tokenizer@2.2.4) - '@csstools/css-tokenizer': 2.2.4 - '@csstools/utilities': 1.0.0(postcss@8.4.33) - postcss: 8.4.33 - postcss-value-parser: 4.2.0 - dev: false - /postcss-discard-comments@6.0.1(postcss@8.4.33): resolution: {integrity: sha512-f1KYNPtqYLUeZGCHQPKzzFtsHaRuECe6jLakf/RjSRqvF5XHLZnM2+fXLhb8Qh/HBFHs3M4cSLb1k3B899RYIg==} engines: {node: ^14 || ^16 || >=18.0} @@ -10852,7 +10801,7 @@ packages: '@antfu/utils': 0.7.7 defu: 6.1.4 jiti: 1.21.0 - mlly: 1.5.0 + mlly: 1.6.1 /uncrypto@0.1.3: resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} diff --git a/src/module.ts b/src/module.ts index 1bfda356..9d51aebb 100644 --- a/src/module.ts +++ b/src/module.ts @@ -129,7 +129,6 @@ export default defineNuxtModule({ postcssOptions.plugins = { ...(postcssOptions.plugins || {}), 'tailwindcss/nesting': postcssOptions.plugins?.['tailwindcss/nesting'] ?? {}, - 'postcss-custom-properties': postcssOptions.plugins?.['postcss-custom-properties'] ?? {}, tailwindcss: enableHMR ? twConfig.dst satisfies string : _config }