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
..
2020-09-13 20:55:29 +02:00
2019-03-23 18:51:22 +01:00
2020-02-19 17:14:35 +01:00
2019-03-23 18:51:22 +01:00
2019-07-24 09:35:53 +02:00
2018-09-07 08:25:51 +02:00
2020-09-13 20:55:29 +02:00
2019-07-24 09:35:53 +02:00
2019-08-01 13:55:48 +02:00
2020-09-13 20:55:29 +02:00
2020-02-04 00:17:10 +01:00