'use strict'

let app

try {
  app = require('ext')
} catch (err) {
  app = require('./template')
}

module.exports = app

'use strict'

let app

try {
  app = require('ext')
} catch (err) {
  if (err && err.code === 'MODULE_NOT_FOUND') {
    app = require('./template')
  } else {
    throw err
  }
}

module.exports = app

fix throw error when /ext is beign loaded