aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/en/functions/resources/PostCSS.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/functions/resources/PostCSS.md')
-rw-r--r--content/en/functions/resources/PostCSS.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/content/en/functions/resources/PostCSS.md b/content/en/functions/resources/PostCSS.md
index a9f9ed3c8..f495b16fe 100644
--- a/content/en/functions/resources/PostCSS.md
+++ b/content/en/functions/resources/PostCSS.md
@@ -4,17 +4,23 @@ description: Processes the given resource with PostCSS using any PostCSS plugin.
categories: []
keywords: []
action:
- aliases: [postCSS]
related:
- functions/resources/Fingerprint
- functions/resources/Minify
- functions/resources/PostProcess
- - functions/resources/ToCSS
+ - functions/css/Sass
returnType: resource.Resource
signatures: ['resources.PostCSS [OPTIONS] RESOURCE']
toc: true
+expiryDate: 2025-06-24 # deprecated 2024-06-24
---
+{{% deprecated-in 0.128.0 %}}
+Use [css.PostCSS] instead.
+
+[css.PostCSS]: /functions/css/postcss/
+{{% /deprecated-in %}}
+
```go-html-template
{{ with resources.Get "css/main.css" | postCSS }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
@@ -126,4 +132,4 @@ module.exports = {
[node.js]: https://nodejs.org/en/download
[postcss plugins]: https://www.postcss.parts/
[supported file name]: https://github.com/postcss/postcss-load-config#usage
-[transpile to CSS]: /functions/resources/tocss.md
+[transpile to CSS]: /functions/css/sass/