2014-05-17 06:53:28 +08:00
|
|
|
/*
|
|
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
|
|
Author Tobias Koppers @sokra
|
|
|
|
*/
|
|
|
|
exports.module = function(request) {
|
2014-07-03 06:00:06 +08:00
|
|
|
return "!(function webpackMissingModule() { " +
|
|
|
|
exports.moduleCode(request) +
|
|
|
|
" }())";
|
2014-05-17 06:53:28 +08:00
|
|
|
};
|
2014-07-03 06:00:06 +08:00
|
|
|
|
|
|
|
exports.moduleCode = function(request) {
|
|
|
|
return "var e = new Error(" + JSON.stringify("Cannot find module \"" + request + "\"") + "); " +
|
|
|
|
"e.code = 'MODULE_NOT_FOUND'; " +
|
|
|
|
"throw e;";
|
|
|
|
};
|
|
|
|
|
2014-05-17 06:53:28 +08:00
|
|
|
exports.moduleMetaInfo = function(request) {
|
2015-04-24 05:55:50 +08:00
|
|
|
return "!(function webpackMissingModuleMetaInfo() { " +
|
|
|
|
"var e = new Error(" + JSON.stringify("Module cannot be imported because no meta info about exports is available \"" + request + "\"") + "); " +
|
|
|
|
"e.code = 'MODULE_NOT_FOUND'; " +
|
|
|
|
"throw e; " +
|
2014-05-17 06:53:28 +08:00
|
|
|
"}())";
|
2014-07-03 06:00:06 +08:00
|
|
|
};
|