forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
a05a79eb83
commit
f8314e7de1
14 files changed
+529
-108
No files matched your search
+8
-5
@@ -10,6 +10,7 @@ const packageVersion = (JSON.parse(readFileSync(new URL("./package.json", import
|
||||
export default defineConfig(({ mode }) => {
|
||||
const androidBuild = mode === "android";
|
||||
const shelvedModesEnabled = mode === "shelved";
|
||||
const balanceLabRuntime = mode === "balance-lab";
|
||||
const downloadableBuild = androidBuild || mode === "production" || shelvedModesEnabled;
|
||||
return {
|
||||
plugins: [react(), {
|
||||
@@ -40,7 +41,7 @@ export default defineConfig(({ mode }) => {
|
||||
});
|
||||
},
|
||||
}],
|
||||
publicDir: androidBuild ? ".android-public" : downloadableBuild ? ".web-public" : "public",
|
||||
publicDir: balanceLabRuntime ? false : androidBuild ? ".android-public" : downloadableBuild ? ".web-public" : "public",
|
||||
define: {
|
||||
"import.meta.env.VITE_APP_VERSION": JSON.stringify(packageVersion),
|
||||
"import.meta.env.VITE_CONTENT_MODE": JSON.stringify(downloadableBuild ? "downloadable" : "bundled"),
|
||||
@@ -84,10 +85,12 @@ export default defineConfig(({ mode }) => {
|
||||
// while iCloud or conversion tools are writing them. They are not app
|
||||
// source, so watching them only risks taking the dev server down with
|
||||
// EBUSY on Windows.
|
||||
ignored: [
|
||||
"**/dungeon-pipeline/**",
|
||||
"**/playtest-artifacts/**",
|
||||
],
|
||||
ignored: balanceLabRuntime
|
||||
? ["**/*"]
|
||||
: [
|
||||
"**/dungeon-pipeline/**",
|
||||
"**/playtest-artifacts/**",
|
||||
],
|
||||
},
|
||||
},
|
||||
build: {
|
||||
|
||||
Reference in new issue
Block a user