hugo/common
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
..
collections Fix order of GetTerms 2020-06-15 22:23:02 +02:00
constants Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy 2020-06-18 09:09:56 +02:00
herrors
hreflect
hugio
hugo Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
loggers Improve stderr logging for PostCSS and simlilar 2020-08-20 22:32:20 +02:00
maps common/maps: Add Scratch.Values 2020-05-29 19:51:49 +02:00
math
para
terminal
text
types Add openapi3.Unmarshal 2020-07-06 20:03:36 +02:00
urls