lepu-test-platform-web/node_modules/webpack/lib/UnsupportedFeatureWarning.js

22 lines
493 B
JavaScript
Raw Permalink Normal View History

/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const WebpackError = require("./WebpackError");
class UnsupportedFeatureWarning extends WebpackError {
constructor(module, message) {
super();
this.name = "UnsupportedFeatureWarning";
this.message = message;
this.origin = this.module = module;
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = UnsupportedFeatureWarning;