Browse Source

fix bug

main
npmrun 5 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( const pkgInfo = await import(
URL.pathToFileURL(path.resolve(rootDir, "package.json")).href 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, { return build(rootDir, false, {
stub: type === "stub", stub: type === "stub",

Loading…
Cancel
Save