22 lines
493 B
JavaScript
22 lines
493 B
JavaScript
/*
|
|
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;
|