loopback-boot/test/fixtures/browser-app
John McLaughlin 2b596c8c8b
Support es2015 module exports (Babel, TypeScript)
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
2017-06-26 14:35:43 +02:00
..
boot update copyright notices and license 2016-05-05 21:52:36 -07:00
components Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
mixins Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
models Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
app.js update copyright notices and license 2016-05-05 21:52:36 -07:00
component-config.json Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
datasources.json Rework model configuration 2014-06-13 19:40:52 +02:00
model-config.json Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00