diff options
Diffstat (limited to 'scripts/build/buildWeb.mjs')
-rwxr-xr-x | scripts/build/buildWeb.mjs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index 009d5e8..f0197b7 100755 --- a/scripts/build/buildWeb.mjs +++ b/scripts/build/buildWeb.mjs @@ -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" } }; |