Skip to content

Navigation Menu

Sign in
Sign up

posts/npm-deploy-series-0-prologue/ #59

giscus[bot] Bot started this conversation in General
Feb 22, 2026 · 1 comments · 7 replies
Discussion options

posts/npm-deploy-series-0-prologue/

하루 만에 끝날 줄 알았던 NPM 배포가 3주 걸린 이유 프롤로그: "별거 아니겠지"의 착각 타팀 기획자님이 내 자리로 다가왔다. "개발자님, 저희 팀에서도 그 디자인 시스템 쓸 수 있을까요? 버튼이랑 인풋 컴포넌트가 정말 예쁘던데..." 당시 디자인 시스템은 완성해둔 참이었다. 모노레...

https://blog.sangwook.dev/posts/npm-deploy-series-0-prologue/

You must be logged in to vote

Replies: 1 comment 7 replies

Comment options

안녕하세요, 지금은 위 문제가 모두 해결됐나요?

You must be logged in to vote
7 replies
Comment options

혹시 어떤게 궁금하신가요?

Comment options

  1. Svg 어떻게 배포하셨나요
  2. Npm 라이브러리 크기 어떻게 줄이셨나요
Comment options

  1. svg는 리액트 컴포넌트로 전부 바꾸어주었습니다 => svgr이 해주던걸 손으로 했다 보면 됩니다.
  2. 필요 없는 정적 자신들 (fonts, image, etc 삭제), cjs 삭제, 소스맵 삭제 정도 진행 했어요 현재는 약 5mb? 정도 크기를 유지하고 있습니다
Comment options

Svg는 svgr 없이 그냥 import로 가능한가 보군요.

라이브러리 줄이는 건 혹시... .npmignore 파일을 사용해서 제외시키신 건가요?

Comment options

번들링이 끝난 후 dist에서 직접 지우게 했어요 딱히 연결 된건 없었거든요

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

AltStyle によって変換されたページ (->オリジナル) /