mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-14 22:20:26 -04:00
require differ even when not on a dev build
This commit is contained in:
parent
83dc1a52c3
commit
a0f3747187
2 changed files with 7 additions and 10 deletions
|
@ -27,10 +27,7 @@ import { Button, Clipboard, Forms, Parser, React, Switch, TextArea, TextInput }
|
|||
|
||||
import { SettingsTab, wrapTab } from "./shared";
|
||||
|
||||
// Do not include diff in non dev builds (side effects import)
|
||||
if (IS_DEV) {
|
||||
var differ = require("diff") as typeof import("diff");
|
||||
}
|
||||
|
||||
const findCandidates = debounce(function ({ find, setModule, setError }) {
|
||||
const candidates = search(find);
|
||||
|
|
Loading…
Add table
Reference in a new issue