Detect when a script file is an es2015 module created by a transpiler like Babel or TypeScript and use the `default` export instead of `module.exports` in such case. The following artefacts support the new syntax now: - boot scripts - components - middleware - model scripts |
||
---|---|---|
.. | ||
browser-app | ||
browser-app-2 | ||
coffee-app | ||
env-app | ||
simple-app | ||
passport.js | ||
simple-component.js | ||
simple-middleware.js |