From be3c45e89008b8ba19d62d744719698eadf023ba Mon Sep 17 00:00:00 2001 From: Xavier Stouder Date: Thu, 9 May 2024 13:48:51 +0200 Subject: [PATCH] fix: correctly import stub --- stubs/main.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stubs/main.ts b/stubs/main.ts index 4ece99a..da4f853 100644 --- a/stubs/main.ts +++ b/stubs/main.ts @@ -1,4 +1,3 @@ -import { dirname } from 'node:path' -import { fileURLToPath } from 'node:url' +import { getDirname } from '@poppinss/utils' -export const stubsRoot = dirname(fileURLToPath(import.meta.url)) +export const stubsRoot = getDirname(import.meta.url)