Skip to content

Commit

Permalink
Try to use local package link
Browse files Browse the repository at this point in the history
  • Loading branch information
Emaro committed Feb 9, 2024
1 parent cc80697 commit f42a237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { magicFn } from "../lib/out/main.js";
import { magicFn } from "lib";
import cap from "capitalize";

const r = magicFn(cap.words("hello world"));
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "lib",
"version": "1.0.0",
"description": "",
"main": "main.ts",
"main": "out/main.js",
"scripts": {
"build": "tsc",
"test": "echo \"Error: no test specified\""
Expand Down

0 comments on commit f42a237

Please sign in to comment.