Browse Source

fix bug

main
npmrun 4 days ago
parent
commit
350a5df70a
  1. 2
      scripts/build-one.ts

2
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",

Loading…
Cancel
Save