lib/index.js
function runBuildCommand (launchOptions) {
  config.commands.build = launchOptions

  parseEntryPoint(launchOptions.entryPoint, (err, entry) => {
    if (err) {
      console.warn('No valid entry point provided. Use current directory instead')
      console.log('')

      generator.generate(process.cwd())
      return
    }

    generator.generate(entry)
  })
}
function runBuildCommand (launchOptions) {
  config.commands.build = launchOptions

  parseEntryPoint(launchOptions.entryPoint, (err, entry) => {
    if (err) {
      console.warn('No valid entry point provided. Use current directory instead')
      console.log('')

      generator.generate(process.cwd())
      return
    }

    generator.generate(entry)
  })
}
------------------------------------------------------------- Module. -------------------------------------------------------------