mirror of https://github.com/webpack/webpack.git
Use 'Object.defineProperty' instead of 'Reflect.defineProperty'
This commit is contained in:
parent
d668a23fdc
commit
b43db8745e
|
|
@ -155,7 +155,7 @@ exportPlugins((exports.debug = {}), {
|
|||
});
|
||||
|
||||
const defineMissingPluginError = (namespace, pluginName, errorMessage) => {
|
||||
Reflect.defineProperty(namespace, pluginName, {
|
||||
Object.defineProperty(namespace, pluginName, {
|
||||
configurable: false,
|
||||
enumerable: true,
|
||||
get() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue