mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-23 15:05:11 +00:00
better comment
This commit is contained in:
parent
23c1ce97af
commit
98c8ecf541
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ define(Function.prototype, "m", {
|
|||
|
||||
define(this, "m", { value: proxiedModuleFactories });
|
||||
|
||||
// Overwrite webpack's defineExports function to make exports configurable so we can overwrite them for blacklisting
|
||||
// Overwrite webpack's defineExports function to define the export descriptors configurable.
|
||||
// This is needed so we can later blacklist specific exports from webpack search by making them non-enumerable
|
||||
this.d = function (exports: object, getters: object) {
|
||||
for (const key in getters) {
|
||||
if (Object.hasOwn(getters, key) && !Object.hasOwn(exports, key)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue