chore: use dist as the single extension output dir
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import path from "node:path";
|
||||
import { describe, expect, test } from "vitest";
|
||||
|
||||
import { resolveExtensionBuildDir } from "../scripts/build-output-path.mjs";
|
||||
|
||||
describe("build-output-path", () => {
|
||||
test("uses dist for release builds", () => {
|
||||
expect(resolveExtensionBuildDir("/repo", "release")).toBe(
|
||||
path.join("/repo", "dist")
|
||||
);
|
||||
});
|
||||
|
||||
test("uses dist for development builds", () => {
|
||||
expect(resolveExtensionBuildDir("/repo", "development")).toBe(
|
||||
path.join("/repo", "dist")
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user