hugo/docs/content/en
Bjørn Erik Pedersen 85ba9bfffb Add "hugo mod npm pack"
This commit also introduces a convention where these common JS config files, including `package.hugo.json`, gets mounted into:

```
assets/_jsconfig
´``

These files mapped to their real filename will be added to the environment when running PostCSS, Babel etc., so you can do `process.env.HUGO_FILE_TAILWIND_CONFIG_JS` to resolve the real filename.

But do note that `assets` is a composite/union filesystem, so if your config file is not meant to be overridden, name them something specific.

This commit also adds adds `workDir/node_modules` to `NODE_PATH` and `HUGO_WORKDIR` to the env when running the JS tools above.

Fixes #7644
Fixes #7656
Fixes #7675
2020-09-13 20:55:29 +02:00
..
about Merge commit '7d7771b673e5949f554515a2c236b23192c765c8' 2020-09-07 21:37:51 +02:00
commands docs: Regen CLI docs 2020-09-07 21:46:30 +02:00
content-management markup/highlight: Add support to linkable line anchors on Chroma 2020-09-13 11:00:16 +02:00
contribute
functions docs: Update replaceRE func 2020-09-07 22:45:14 +02:00
getting-started Merge commit '7d7771b673e5949f554515a2c236b23192c765c8' 2020-09-07 21:37:51 +02:00
hosting-and-deployment
hugo-modules modules: Add noVendor to module config 2020-09-10 08:47:05 +02:00
hugo-pipes Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
maintenance
news
readfiles
showcase
templates Merge commit '7d7771b673e5949f554515a2c236b23192c765c8' 2020-09-07 21:37:51 +02:00
tools
troubleshooting
variables Merge commit '7d7771b673e5949f554515a2c236b23192c765c8' 2020-09-07 21:37:51 +02:00
_index.md
documentation.md