2b596c8c8b
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 |
||
---|---|---|
.. | ||
boot | ||
components | ||
mixins | ||
models | ||
app.js | ||
component-config.json | ||
datasources.json | ||
model-config.json |