Skip to content

Commit b43db87

Browse files
committed
Use 'Object.defineProperty' instead of 'Reflect.defineProperty'
1 parent d668a23 commit b43db87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ exportPlugins((exports.debug = {}), {
155155
});
156156

157157
const defineMissingPluginError = (namespace, pluginName, errorMessage) => {
158-
Reflect.defineProperty(namespace, pluginName, {
158+
Object.defineProperty(namespace, pluginName, {
159159
configurable: false,
160160
enumerable: true,
161161
get() {

0 commit comments

Comments
 (0)