Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify package.json #697

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from
Open

Modify package.json #697

wants to merge 1 commit into from

Conversation

generalxd
Copy link

No description provided.

Copy link
Owner

@storycraft storycraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 부분 수정이 필요한 이유가 있나요?

@generalxd
Copy link
Author

@storycraft

import { createTCPSocket, LocoSecureLayer, LocoSession } from "node-kakao/dist/network";

등을 할때 dist/dist/~~~ 로 경로가 잡혀 import 되지않습니다.

@storycraft
Copy link
Owner

@storycraft

import { createTCPSocket, LocoSecureLayer, LocoSession } from "node-kakao/dist/network";

등을 할때 dist/dist/~~~ 로 경로가 잡혀 import 되지않습니다.

해당 부분은 의도 했던 부분이며 Typescript 버전 업데이트로 Node12의 subpath exports가 구현된것으로 보입니다.

import { createTCPSocket, LocoSecureLayer, LocoSession } from "node-kakao/network";

코드를 사용해도 작동하지 않나요?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants