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:
Keavon Chambers
2026-03-21 00:08:32 -07:00
committed by GitHub
parent ed7987c881
commit 9bcac1af2d
80 changed files with 574 additions and 658 deletions
@@ -18,11 +18,9 @@
<script lang="ts">
import { onMount, onDestroy, afterUpdate, createEventDispatcher, tick } from "svelte";
import type { MenuDirection } from "@graphite/../wasm/pkg/graphite_wasm";
import { browserVersion } from "@graphite/utility-functions/platform";
import LayoutCol from "@graphite/components/layout/LayoutCol.svelte";
import LayoutCol from "/src/components/layout/LayoutCol.svelte";
import { browserVersion } from "/src/utility-functions/platform";
import type { MenuDirection } from "/wasm/pkg/graphite_wasm";
const BUTTON_LEFT = 0;
const POINTER_STRAY_DISTANCE = 100;
@@ -1,5 +1,5 @@
<script lang="ts">
import type { ActionShortcut } from "@graphite/../wasm/pkg/graphite_wasm";
import type { ActionShortcut } from "/wasm/pkg/graphite_wasm";
let className = "";
export { className as class };
@@ -1,5 +1,5 @@
<script lang="ts">
import type { ActionShortcut } from "@graphite/../wasm/pkg/graphite_wasm";
import type { ActionShortcut } from "/wasm/pkg/graphite_wasm";
let className = "";
export { className as class };