mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 18:48:11 +08:00
Fix Bezier-rs interactive demo page build failure
This commit is contained in:
@@ -79,10 +79,10 @@ export interface Demo extends HTMLElement {
|
|||||||
sliderData: Record<string, number>;
|
sliderData: Record<string, number>;
|
||||||
sliderUnits: Record<string, string | string[]>;
|
sliderUnits: Record<string, string | string[]>;
|
||||||
|
|
||||||
drawDemo(figure: HTMLElement, mouseLocation?: [number, number]);
|
drawDemo(figure: HTMLElement, mouseLocation?: [number, number]): void;
|
||||||
onMouseDown(event: MouseEvent);
|
onMouseDown(event: MouseEvent): void;
|
||||||
onMouseUp();
|
onMouseUp(): void;
|
||||||
onMouseMove(event: MouseEvent);
|
onMouseMove(event: MouseEvent): void;
|
||||||
getSliderUnit(sliderValue: number, variable: string): string;
|
getSliderUnit(sliderValue: number, variable: string): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// TODO: Eventually migrate the bundler from Webpack to Vite
|
||||||
|
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||||
|
|||||||
Reference in New Issue
Block a user