Bjørn Erik Pedersen
9a215d6950
Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d'
2022-12-20 11:04:41 +01:00
Bjørn Erik Pedersen
f04cc581e1
Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b'
2022-11-17 16:16:19 +01:00
Bjørn Erik Pedersen
af23cdca9c
Merge commit '90ad8045056167004d27857a95542936657b8a16'
2022-09-13 20:34:24 +02:00
Bjørn Erik Pedersen
4b189d8fd9
postcss: Fix import error handling
...
Note that we will now fail if `inlineImports` is enabled and we cannot resolve an import.
You can work around this by either:
* Use url imports or imports with media queries.
* Set `skipInlineImportsNotFound=true` in the options
Also get the argument order in the different NewFileError* funcs in line.
Fixes #9895
2022-05-15 20:25:25 +02:00
Bjørn Erik Pedersen
4b36498a85
Merge commit 'aa5ac36a3eb68b86c803caec703869efefc8447e'
2021-10-31 13:53:55 +01:00
Joe Mooring
64abc83fc4
Allow multiple plugins in the PostCSS options map
...
Usage:
{{ $options := dict "use" "autoprefixer postcss-color-alpha" }}
{{ $style := resources.Get "main.css" | resources.PostCSS $options }}
Fixes #9015
2021-10-10 11:11:43 +02:00
Andrey Sitnik
0c3d2b67e0
Fix CLI example for PostCSS 8
2020-09-22 19:31:02 +02:00
Bjørn Erik Pedersen
b66d38c419
resources: Add basic @import support to resources.PostCSS
...
This commit also makes the HUGO_ENVIRONMENT environment variable available to Node.
Fixes #6957
Fixes #6961
2020-02-27 11:47:24 +01:00
Bjørn Erik Pedersen
27aef3f1fb
Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'
2019-10-21 10:22:28 +02:00
Bjørn Erik Pedersen
39121de4d9
docs: Replace /docs
2019-10-21 10:21:51 +02:00
Bjørn Erik Pedersen
b7ca3e1b3a
Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'
2018-09-14 08:35:23 +02:00
Bjørn Erik Pedersen
9da617912b
Merge commit 'a3535c8486b2ce762b1a8a9c30b03985c3e02cee'
2018-07-19 09:18:11 +02:00