Files
aklive2d/apps/showcase/index.js
Haoyu Xu d6e7bc20d3 feat: migrate to turbo (#22)
* feat: migrate top turbo

* ci: ci test

* fix: fix codeql issues

* feat: ci test

* chore: lint

* chore: misc changes

* feat: rename vite helpers

* feat: use fetch to handle assets

* feat: update directory

* feat: fetch charword table

* feat: migrate download game data and detect missing voice files

* feat: symlink relative path

* feat: finish wrangler upload

* feat: migrate wrangler download

* feat: finish

* chore: auto update

* ci: update ci

* ci: update ci

---------

Co-authored-by: Halyul <Halyul@users.noreply.github.com>
2025-02-22 15:11:30 +08:00

17 lines
502 B
JavaScript

import path from 'node:path'
import config from '@aklive2d/config'
export const DATA_DIR = path.resolve(import.meta.dirname, config.dir_name.data)
export const PUBLIC_DIR = path.resolve(DATA_DIR, config.dir_name.public)
export const PUBLIC_ASSETS_DIR = path.resolve(
PUBLIC_DIR,
config.dir_name.assets
)
export const OUT_DIR = path.resolve(import.meta.dirname, config.dir_name.dist)
export const DIST_DIR = path.resolve(
import.meta.dirname,
'..',
'..',
config.dir_name.dist
)