hugo/hugofs
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
..
files
glob
createcounting_fs.go
decorators.go
fileinfo.go
filter_fs.go
filter_fs_test.go
fs.go
fs_test.go
glob.go
glob_test.go
hashing_fs.go
hashing_fs_test.go
language_composite_fs.go
noop_fs.go
nosymlink_fs.go
nosymlink_test.go
rootmapping_fs.go
rootmapping_fs_test.go
slice_fs.go
stacktracer_fs.go
walk.go
walk_test.go