Release Healer Man 0.1.14
This commit is contained in:
1 parent
67d7a8ebe7
commit
7b41b102fa
147 files changed
+169892
-1342
No files matched your search
+4
-3
@@ -7,17 +7,18 @@ const packageVersion = (JSON.parse(readFileSync(new URL("./package.json", import
|
||||
|
||||
export default defineConfig(({ mode }) => {
|
||||
const androidBuild = mode === "android";
|
||||
const downloadableBuild = androidBuild || mode === "production";
|
||||
return {
|
||||
plugins: [react()],
|
||||
publicDir: androidBuild ? ".android-public" : "public",
|
||||
publicDir: 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(androidBuild ? "downloadable" : "bundled"),
|
||||
"import.meta.env.VITE_CONTENT_MODE": JSON.stringify(downloadableBuild ? "downloadable" : "bundled"),
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@dungeonAssetModules": path.resolve(
|
||||
androidBuild ? "src/game/dungeonAssetModules.android.ts" : "src/game/dungeonAssetModules.ts",
|
||||
downloadableBuild ? "src/game/dungeonAssetModules.android.ts" : "src/game/dungeonAssetModules.ts",
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user