diff --git a/app/index.js b/app/index.js index 718e9f0..fd3d490 100644 --- a/app/index.js +++ b/app/index.js @@ -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")); diff --git a/lib/package.json b/lib/package.json index 69b6fcb..aa59daa 100644 --- a/lib/package.json +++ b/lib/package.json @@ -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\""