loopback-boot/lib
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
..
bundler.js Globalization for Loopback-boot 2016-08-05 14:31:48 -04:00
compiler.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
config-loader.js Replace fs.existsSync calls with fs.statSync 2016-09-05 14:29:51 +02:00
executor.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
require.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00
utils.js Replace fs.existsSync calls with fs.statSync 2016-09-05 14:29:51 +02:00