hugo/resources/resource_transformers
Bjørn Erik Pedersen 59af05cabc Add HUGO_PUBLISHDIR to the Node environment
So you can do  `process.env.HUGO_PUBLISHDIR` in your `postcss.config.js` to figure out where Hugo publishes
its files.

Note that the value will always be an absolute file path and will point to a directory on disk even when running `hugo server` in memory mode.

If you write to this folder from PostCSS when running the server, you could run the server with one of these flags:

```
hugo server --renderToDisk
hugo server --renderStaticToDisk
```

Fixes #10554
2022-12-22 12:43:50 +01:00
..
babel Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
htesting Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
integrity Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
js resources/js: Fix some import discrepancies between Hugo and ESBuild 2022-12-13 18:58:17 +01:00
minifier minifiers: Make keepWhitespace = false default for HTML (note) 2022-03-09 07:48:18 +01:00
postcss Add HUGO_PUBLISHDIR to the Node environment 2022-12-22 12:43:50 +01:00
templates Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
tocss tocss: Add some more test cases 2022-12-21 11:21:07 +01:00