mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-30 10:07:33 +03:00
314baa111c
Subj, this patch appends NODE_PATH to the `moduleDirectories` which according to [plugin docs][module-directories] would be used to recursively search for modules. It does, however, cause rollup to fail with an error, complaining about absolute paths belonging in the [`modulePaths`][module-paths]. One way to workaround this issue would be to split `moduleDirectories` configuration across two lines, which would cause search and replace to fail and subsequently rollup would not complain. This workaround leads to working build, which leads me to believe that existing comment is right and this patch is not needed in the first place. [module-directories]: <https://github.com/rollup/plugins/tree/master/packages/node-resolve#moduledirectories> [module-paths]: <https://github.com/rollup/plugins/tree/master/packages/node-resolve#modulepaths> |
||
---|---|---|
.. | ||
electron | ||
element-web | ||
enhanced-resolve | ||
webpack | ||
webpack-cli | ||
default.nix |