Files
OpenFrontIO/src/client/vite-env.d.ts
T
wraith4081 c5f6d9116e build: migrate build system to Vite and test runner to Vitest & Remove
depracated husky usage

- Replace Webpack with Vite for faster client bundling and HMR.
- Migrate tests from Jest to Vitest and update configuration.
- Update Web Worker instantiation to standard ESM syntax.
- Implement Env utility in `src/core` for safe, hybrid environment
  variable access (Vite vs Node).
- Refactor configuration loaders to remove direct `process.env`
  dependencies in shared code.
- Update TypeScript environment definitions and project scripts for the
  new toolchain.
- Remove the [depracated usage of the
  husky](https://github.com/typicode/husky/releases/tag/v9.0.1).

build(vite): implement robust git commit resolution with fallback
2025-12-27 00:12:39 +03:00

27 lines
466 B
TypeScript

/// <reference types="vite/client" />
declare module "*.bin" {
const binContent: string;
export default binContent;
}
declare module "*.md" {
const mdContent: string;
export default mdContent;
}
declare module "*.html" {
const htmlContent: string;
export default htmlContent;
}
declare module "*.xml" {
const xmlContent: string;
export default xmlContent;
}
declare module "*.webp" {
const webpContent: string;
export default webpContent;
}