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 Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
glob
createcounting_fs.go
decorators.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
fileinfo.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
filter_fs.go Pass directory name to filters in LstatIfPossible in the same way as Readdir 2020-03-19 20:09:34 +01:00
filter_fs_test.go
fs.go modules: Improve "hugo mod clean" 2020-02-19 17:14:35 +01:00
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 Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
rootmapping_fs_test.go hugofs: Fix mount with hole regression 2020-02-09 21:35:39 +01:00
slice_fs.go
stacktracer_fs.go
walk.go
walk_test.go Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00