Add module condition to the node platform

Merged
AN
5y ago
+4-1

the "module" condition doesn't prescribe the target environment anyhow but rather it ensures that a particular file can be reused regardless of the used loader - the same file (the module condition file) should be loaded both when requesting using require and when requesting with an import statement (or a dynamic import etc)