mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 15:24:43 -04:00
Fixed typo (#2007)
This commit is contained in:
parent
90c82d7ea4
commit
eb3003fefc
@ -89,7 +89,7 @@ hugo server --renderStaticToDisk
|
||||
|
||||
Also, Hugo will add environment variables for all files mounted below `assets/_jsconfig`. A default mount will be set up with files in the project root matching this regexp: `(babel|postcss|tailwind)\.config\.js`.
|
||||
|
||||
These will get environment variables named on the form `HUGO_FILE_:filename:` where `:filename:` is all upper case with periods replaced with underscore. This allows you do do this and similar:
|
||||
These will get environment variables named on the form `HUGO_FILE_:filename:` where `:filename:` is all upper case with periods replaced with underscore. This allows you to do this and similar:
|
||||
|
||||
```js
|
||||
let tailwindConfig = process.env.HUGO_FILE_TAILWIND_CONFIG_JS || './tailwind.config.js';
|
||||
|
Loading…
x
Reference in New Issue
Block a user