hugo/common
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
..
collections all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
constants Allow getJSON errors to be ignored 2020-10-22 09:09:29 +02:00
herrors Also consider wrapped errors when checking for file IsNotExist errors 2022-12-14 13:51:06 +01:00
hexec all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hreflect Fix raw TOML dates in where/eq 2022-06-07 13:02:58 +02:00
htime Fix raw TOML dates in where/eq 2022-06-07 13:02:58 +02:00
hugio common/hugio: Fix multiWriteCloser.Close 2022-12-06 10:32:33 +01:00
hugo Add HUGO_PUBLISHDIR to the Node environment 2022-12-22 12:43:50 +01:00
loggers Respect NO_COLOR 2022-06-13 18:07:37 +02:00
maps resources: Add key to reources.GetRemote options map 2022-04-13 09:18:17 +02:00
math all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
para para: Skip para test when not on CI 2020-12-23 19:47:20 +01:00
paths Improve SASS errors 2022-05-15 20:25:25 +02:00
terminal Respect NO_COLOR 2022-06-13 18:07:37 +02:00
text Respect NO_COLOR 2022-06-13 18:07:37 +02:00
types resources: Create a common ResourceFinder interface 2022-04-05 18:00:44 +02:00
urls all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00