diff --git a/scripts/build-one.ts b/scripts/build-one.ts index 2c8b666..c9573fd 100644 --- a/scripts/build-one.ts +++ b/scripts/build-one.ts @@ -12,7 +12,7 @@ export async function buildOne( const pkgInfo = await import( URL.pathToFileURL(path.resolve(rootDir, "package.json")).href ); - const alias = { [pkgInfo.name]: path.resolve(rootDir, "./src"), ["@"]: path.resolve(rootDir, "./src") }; + const alias = { [pkgInfo.name]: path.resolve(rootDir, "./src"), ["@/"]: path.resolve(rootDir, "./src") }; return build(rootDir, false, { stub: type === "stub",