diff --git a/index.js b/index.js index dcb2849..cce574c 100644 --- a/index.js +++ b/index.js @@ -345,3 +345,13 @@ function stripLoader(dependency) { return dependency.slice(exclamationLocation + 1); } + +module.exports.resolveWebpackPath = resolveWebpackPath; +module.exports.stripLoader = stripLoader; +module.exports._innerCache = {webpackResolve}; +module.exports.dumpLookups = function() { + return supportedFileExtensions.reduce(function(result, key) { + result[key] = defaultLookups[key] + return result; + }, {}); +};