Skip to content

Commit 3a5be57

Browse files
committed
build: made mode an index file
1 parent adc8edf commit 3a5be57

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const ConfigSchema = z.object({
2121
if (import.meta.main) {
2222
try {
2323
const path = resolve(import.meta.dirname!, "..", "deno.jsonc");
24-
const entry = resolve(import.meta.dirname!, "..", "src", "index.ts");
24+
const entry = resolve(import.meta.dirname!, "..", "src", "mod.ts");
2525
const config = JSON.parse(Deno.readTextFileSync(path));
2626
const parsed = ConfigSchema.safeParse(config);
2727

scripts/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { resolve } from "@std/path";
22

33
async function compile() {
4-
const entry = resolve(import.meta.dirname!, "..", "src", "index.ts");
4+
const entry = resolve(import.meta.dirname!, "..", "src", "mod.ts");
55
const command = new Deno.Command(Deno.execPath(), {
66
args: ["compile", "-A", "--output=build/mcp-server-drupal", entry],
77
stdout: "inherit",
File renamed without changes.

0 commit comments

Comments
 (0)