Skip to content

Commit

Permalink
fix: remove external warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Nov 5, 2019
1 parent 29b41c0 commit b859096
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/@nodepack/service/src/util/externals.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ module.exports = function (api, externals) {
})) { return callback() }
} while (pkgPath.length > (pkgPath = pkgPath.substr(0, pkgPath.lastIndexOf(sep, pkgPath.length - 15 - request.length)) + sep + 'node_modules' + sep + request).length)

warn(`Module directory "${context}" attempted to require "${request}" but could not be resolved, assuming external.`)
return callback(null, `commonjs ${request}`)
}

Expand Down

0 comments on commit b859096

Please sign in to comment.