mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-05 00:58:12 +08:00
Remove JS module import prefixes and use absolute paths to the frontend directory (#3924)
* Remove JS module import prefixes * Fix code review mistakes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { EditorHandle } from "@graphite/../wasm/pkg/graphite_wasm";
|
||||
import type { EditorHandle } from "/wasm/pkg/graphite_wasm";
|
||||
|
||||
export function setupViewportResizeObserver(editor: EditorHandle): () => void {
|
||||
const viewports = Array.from(window.document.querySelectorAll("[data-viewport-container]"));
|
||||
|
||||
Reference in New Issue
Block a user