From c9db1f1d70f3fe37abe291d0327d2c252347a994 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 29 Nov 2023 10:30:43 +1100 Subject: [PATCH] fmt --- lib/pre_build.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/pre_build.ts b/lib/pre_build.ts index f5e831e..9245ef2 100644 --- a/lib/pre_build.ts +++ b/lib/pre_build.ts @@ -278,9 +278,7 @@ function parseRelativePath(from: string, to: string): string { to = path.fromFileUrl(specifier); const result = path.relative(from, to).replace(/\\/g, "/"); - return path.isAbsolute(result) - ? import.meta.resolve(result) - : result; + return path.isAbsolute(result) ? import.meta.resolve(result) : result; } function getAsyncLoaderText(