mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
i forgot what i changed but im committing anyway
This commit is contained in:
parent
44cd30b23a
commit
7aeb884390
3 changed files with 2 additions and 10 deletions
|
@ -81,14 +81,6 @@ export async function exists(path: string) {
|
|||
.catch(() => false);
|
||||
}
|
||||
|
||||
export const makeAllPackagesExternalPlugin: Plugin = {
|
||||
name: "make-all-packages-external",
|
||||
setup(build) {
|
||||
const filter = /^[^./]|^\.[^./]|^\.\.[^/]/; // Must not start with "/" or "./" or "../"
|
||||
build.onResolve({ filter }, args => ({ path: args.path, external: true }));
|
||||
}
|
||||
};
|
||||
|
||||
export const globPlugins: (kind: "web" | "discordDesktop" | "vencordDesktop") => Plugin = kind => ({
|
||||
name: "glob-plugins",
|
||||
setup: build => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue