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 | ||
client | ||
middleware | ||
node_modules/my-module | ||
config.json | ||
datasources.json | ||
middleware.json | ||
model-config.json |