Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- sucoding
- JavaScript
- 스나이퍼팩토리
- 배열
- shadcn
- TypeScript
- 프로젝트
- radixui
- frontend
- stompjs
- 코딩테스트
- 수코딩
- tanstack query
- 컴포넌트설계
- React
- 라이브러리
- MDN
- @stomp/stompjs
- Server State
- npm
- 실시간통신
- 프론트엔드
- 리액트프로젝트
- 프로젝트캠프
- 배열메서드
- 상태 관리 라이브러리
- 공식문서
- pnpm
- 자바스크립트
- React Query
Archives
- Today
- Total
목록2025/04/04 (1)
yunicornlab
빌드 설정 파일(rollup.config.cjs) 파헤치기
지금 진행하고있는 오픈소스 라이브러리 프로젝트에서는 nx로 모노레포 방식을 구현하고, 배포할 @aicody-ui/react 라이브러리는 React와 Tailwind CSS, 그리고 빌드 도구로 rollup을 선택해서 구성했다. 그러고나니 aicody-ui/libs/react 폴더에 rollup.config.cjs라는 파일이 생겼다.const { withNx } = require('@nx/rollup/with-nx');const url = require('@rollup/plugin-url');const svg = require('@svgr/rollup');module.exports = withNx( { main: './src/index.ts', outputPath: './dist', ts..
Project
2025. 4. 4. 03:43