allow external templates/plugins to require() things in node_modules (#665)