mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCCompatCheck] Add reactUtils ignoring
This commit is contained in:
parent
e18c019720
commit
c999320da0
1 changed files with 8 additions and 0 deletions
|
@ -69,6 +69,14 @@ for (const jsFile of glob.sync(`${cloneDir}/**/*.js`).concat(glob.sync(`${cloneD
|
|||
}
|
||||
}
|
||||
|
||||
if (requirePath === 'powercord/util') {
|
||||
const webpackJS = readFileSync(join(__dirname, '..', '..', 'GooseMod', 'src', 'util', 'react.js'), 'utf8');
|
||||
|
||||
if (webpackJS.includes(`export function ${imp}`)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (requirePath === 'powercord/injector') {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue