From 560896837e94b0a714e9efc830a06750b2000932 Mon Sep 17 00:00:00 2001 From: David Bushong Date: Mon, 9 Dec 2019 11:19:22 -0800 Subject: [PATCH] docs: clarify mjs support --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1fc2389..79d7ba7 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,11 @@ This function returns an array with one entry for each interface file: relative to the app's root directory. * `group`: The directory the file was found in. +Note that `.mjs` file support requires you to be using a version of node with +builtin support for ES Modules. Currently this is Node 10+ with +the `--experimental-modules` flag. Node 10.x seems to experience +segfaults under certain conditions, so we recommend 12+. + ### Registry A set of three scopes, in order of nesting: