Skip to content

Commit 41efc6e

Browse files
committed
create a symlink to package.json
this is to prevent a `src` dir being nested in `dist`
1 parent f7bfc72 commit 41efc6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import EventEmitter from "node:events";
22
import http from "node:http";
3-
import packageJson from "../package.json" with {type: "json"};
3+
import packageJson from "./package.json" with {type: "json"};
44
import {Authenticator} from "./auth/Authenticator.js";
55
import {Request} from "./Request.js";
66
import {EmptyResponse} from "./response/index.js";

src/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../package.json

0 commit comments

Comments
 (0)