diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/buildWeb.mjs | 2 | ||||
-rw-r--r-- | scripts/build/common.mjs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index dd7d32e..b9d361b 100644 --- a/scripts/build/buildWeb.mjs +++ b/scripts/build/buildWeb.mjs @@ -36,7 +36,7 @@ const commonOptions = { entryPoints: ["browser/Vencord.ts"], globalName: "Vencord", format: "iife", - external: ["plugins", "git-hash"], + external: ["plugins", "git-hash", "/assets/*"], plugins: [ globPlugins, ...commonOpts.plugins, diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs index 80c9ae1..53eb23f 100644 --- a/scripts/build/common.mjs +++ b/scripts/build/common.mjs @@ -193,7 +193,7 @@ export const commonOpts = { legalComments: "linked", banner, plugins: [fileIncludePlugin, gitHashPlugin, gitRemotePlugin, stylePlugin], - external: ["~plugins", "~git-hash", "~git-remote"], + external: ["~plugins", "~git-hash", "~git-remote", "/assets/*"], inject: ["./scripts/build/inject/react.mjs"], jsxFactory: "VencordCreateElement", jsxFragment: "VencordFragment", |