mirror of https://github.com/webpack/webpack.git
6 lines
151 B
JavaScript
6 lines
151 B
JavaScript
|
module.exports = function(source) {
|
||
|
const callback = this.async();
|
||
|
const error = new Error("this is a callback error");
|
||
|
callback(error, source);
|
||
|
};
|