As delite/features is a plugin, it needs to be loadable on node.
Currently the test for document-register-element is breaking the build since document is undefined on node.
This could be easily changed to:
has.add("document-register-element",
typeof document !== "undefined && document && !!document.registerElement);
Subsequent call to document in this file are ok since they are in feature detection functions and the build won't run them as there is nothing to detect yet.