생성:2024-08-11마지막 업데이트:2025-11-22
이 문서를 원하는 AI 어시스턴트에 참조하세요ChatGPTClaudeDeepSeekGoogle AI modeGeminiPerplexityMistralGrok
이 페이지와 원하는 AI 어시스턴트를 사용하여 문서를 요약합니다
MCP Server를 AI 어시스턴트에 추가
Intlayer MCP 서버를 통해 ChatGPT, DeepSeek, Cursor, VSCode 등에서 직접 문서를 검색할 수 있습니다.
MCP 서버 문서 보기이 페이지의 콘텐츠는 AI를 사용하여 번역되었습니다.
영어 원본 내용의 최신 버전을 보기문서 수정
이 문서를 개선할 아이디어가 있으시면 GitHub에 풀 리퀘스트를 제출하여 자유롭게 기여해 주세요.
문서에 대한 GitHub 링크복사
문서의 Markdown을 클립보드에 복사
사전 빌드하기
사전을 빌드하려면 다음 명령어를 실행할 수 있습니다:
npx intlayer build또는 감시 모드로 실행하려면
npx intlayer build --watch이 명령어는 기본적으로 ./src/**/*.content.{ts|js|mjs|cjs|json|tsx|jsx} 경로에서 선언된 콘텐츠 파일을 찾아 .intlayer 디렉토리에 사전을 빌드합니다.
별칭:
- npx intlayer dictionaries build
- npx intlayer dictionary build
- npx intlayer dic build
인자:
--base-dir: 프로젝트의 기본 디렉토리를 지정합니다. intlayer 설정을 가져오기 위해, 명령어는 기본 디렉토리에서 intlayer.config.{ts,js,json,cjs,mjs} 파일을 찾습니다.
예시: npx intlayer build --base-dir ./src
--env: 환경을 지정합니다 (예: development, production). intlayer 설정 파일에서 환경 변수를 사용하는 경우에 유용합니다.
예시: npx intlayer build --env production
--env-file: 변수들을 로드할 사용자 정의 환경 파일을 제공합니다. intlayer 설정 파일에서 환경 변수를 사용하는 경우에 유용합니다.
예시: npx intlayer build --env-file .env.production.local
--with: 빌드와 병렬로 명령어를 시작합니다.
예시: npx intlayer build --with "next dev --turbopack"
--skip-prepare: prepare 단계를 건너뜁니다.
예시: npx intlayer build --skip-prepare
--no-cache: 캐시를 비활성화합니다.
예시: npx intlayer build --no-cache