Vencord Standalone without git/node (#148)
This commit is contained in:
@ -26,7 +26,7 @@ import { join } from "path";
|
||||
|
||||
// wtf is this assert syntax
|
||||
import PackageJSON from "../../package.json" assert { type: "json" };
|
||||
import { commonOpts, fileIncludePlugin, gitHashPlugin, globPlugins } from "./common.mjs";
|
||||
import { commonOpts, fileIncludePlugin, gitHashPlugin, gitRemotePlugin, globPlugins } from "./common.mjs";
|
||||
|
||||
/**
|
||||
* @type {esbuild.BuildOptions}
|
||||
@ -40,11 +40,13 @@ const commonOptions = {
|
||||
plugins: [
|
||||
globPlugins,
|
||||
gitHashPlugin,
|
||||
gitRemotePlugin,
|
||||
fileIncludePlugin
|
||||
],
|
||||
target: ["esnext"],
|
||||
define: {
|
||||
IS_WEB: "true"
|
||||
IS_WEB: "true",
|
||||
IS_STANDALONE: "true"
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user