mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
parent
23dd136416
commit
a48676460b
6 changed files with 8 additions and 12 deletions
|
@ -186,7 +186,6 @@ await Promise.all([
|
|||
sourcemap,
|
||||
plugins: [
|
||||
globPlugins("vencordDesktop"),
|
||||
globPlugins("fullcordDesktop"),
|
||||
...commonOpts.plugins
|
||||
],
|
||||
define: {
|
||||
|
@ -239,7 +238,6 @@ await Promise.all([
|
|||
sourcemap,
|
||||
plugins: [
|
||||
globPlugins("equicordDesktop"),
|
||||
globPlugins("fullcordDesktop"),
|
||||
...commonOpts.plugins
|
||||
],
|
||||
define: {
|
||||
|
|
|
@ -98,7 +98,7 @@ export const makeAllPackagesExternalPlugin = {
|
|||
};
|
||||
|
||||
/**
|
||||
* @type {(kind: "web" | "discordDesktop" | "vencordDesktop" | "equicordDesktop" | "fullcordDesktop") => import("esbuild").Plugin}
|
||||
* @type {(kind: "web" | "discordDesktop" | "vencordDesktop" | "equicordDesktop") => import("esbuild").Plugin}
|
||||
*/
|
||||
export const globPlugins = kind => ({
|
||||
name: "glob-plugins",
|
||||
|
@ -138,8 +138,7 @@ export const globPlugins = kind => ({
|
|||
(target === "desktop" && kind === "web") ||
|
||||
(target === "discordDesktop" && kind !== "discordDesktop") ||
|
||||
(target === "vencordDesktop" && kind !== "vencordDesktop") ||
|
||||
(target === "equicordDesktop" && kind !== "equicordDesktop") ||
|
||||
(target === "fullcordDesktop" && kind !== "fullcordDesktop");
|
||||
(target === "equicordDesktop" && kind !== "equicordDesktop");
|
||||
|
||||
if (excluded) {
|
||||
const name = await resolvePluginName(fullDir, file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue