15 lines
387 B
TypeScript
15 lines
387 B
TypeScript
|
import definePlugin from '../utils/types';
|
||
|
|
||
|
export default definePlugin({
|
||
|
name: "Experiments",
|
||
|
author: "Vendicated",
|
||
|
description: "Enable Experiments",
|
||
|
patches: [{
|
||
|
find: "Object.defineProperties(this,{isDeveloper",
|
||
|
replacement: {
|
||
|
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
|
||
|
replace: "true"
|
||
|
}
|
||
|
}]
|
||
|
});
|