loopback-boot/test/fixtures/simple-app/boot
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
..
bad.txt Initial implementation 2014-05-23 16:50:40 +02:00
bar.js update copyright notices and license 2016-05-05 21:52:36 -07:00
barSync.js update copyright notices and license 2016-05-05 21:52:36 -07:00
booting.js update copyright notices and license 2016-05-05 21:52:36 -07:00
custom.customjs Provide options.scriptExtensions 2017-04-01 02:10:31 +07:00
custom.customjs2 Provide options.scriptExtensions 2017-04-01 02:10:31 +07:00
foo.js update copyright notices and license 2016-05-05 21:52:36 -07:00
umd.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00