message: Fixed external regexp issue for empty external arrays
diff: @@ -12,6 +12,9 @@ const external = Object.keys(pkg.peerDependencies || {})
  const allExternal = external.concat(Object.keys(pkg.dependencies || {}))
  const makeExternalPredicate = externalArr => {
  + if (externalArr.length === 0) {
  + return () => false
  + }
  const pattern = new RegExp(`^(${externalArr.join('|')})($|/)`)
  return id => pattern.test(id)
  }
  