From f42a237a47105adc44cb534c05ff8b7564c3645f Mon Sep 17 00:00:00 2001 From: Miro Date: Fri, 9 Feb 2024 16:14:36 +0100 Subject: [PATCH] Try to use local package link --- app/index.js | 2 +- lib/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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\""