migrate to vite (#16)

This commit is contained in:
Brian Beck 2026-03-13 23:00:08 -07:00 committed by GitHub
parent 1373f12ab4
commit 5025065188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
165 changed files with 56708 additions and 8931 deletions

View file

@ -2,7 +2,6 @@
//
// https://peggyjs.org/
"use strict";
// Collect exec() script paths during parsing (deduplicated)
@ -6446,8 +6445,12 @@ function peg$parse(input, options) {
}
}
module.exports = {
StartRules: ["Program"],
SyntaxError: peg$SyntaxError,
parse: peg$parse,
const peg$allowedStartRules = [
"Program"
];
export {
peg$allowedStartRules as StartRules,
peg$SyntaxError as SyntaxError,
peg$parse as parse
};

File diff suppressed because it is too large Load diff

37
generated/hxDif.d.ts vendored
View file

@ -1,37 +0,0 @@
declare module "@/generated/hxDif.cjs" {
export interface Point3F {
x: number;
y: number;
z: number;
write(io: any): void;
static read(io: any): Point3F;
}
export interface BSPNode {
planeIndex: number;
frontIndex: number;
backIndex: number;
isFrontLeaf: boolean;
isFrontSolid: boolean;
isBackLeaf: boolean;
isBackSolid: boolean;
}
export interface Dif {
static LoadFromArrayBuffer(buffer: ArrayBufferLike): {
// Add the properties you need from the parsed DIF here
// This is just a starting point - add more as needed
bspNodes: BSPNode[];
points: Point3F[];
planes: { x: number; y: number; z: number; d: number }[];
materials: string[];
// ... other properties
};
}
const hxDif: {
Dif: typeof Dif;
};
export default hxDif;
}