mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
Fix Compiling
This commit is contained in:
parent
6b4b853fc7
commit
03d55517f2
3 changed files with 9 additions and 1 deletions
|
@ -361,7 +361,6 @@ export const commonOpts = {
|
|||
const escapedBuiltinModules = builtinModules
|
||||
.map(m => m.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"))
|
||||
.join("|");
|
||||
const builtinModuleRegex = new RegExp(`^(node:)?(${escapedBuiltinModules})$`);
|
||||
|
||||
export const commonRendererPlugins = [
|
||||
banImportPlugin(/^react$/, "Cannot import from react. React and hooks should be imported from @webpack/common"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue