살다보니개발자

  • 홈
  • 태그
  • 방명록

콘솔제거 1

[ReactNative] 배포시 console.log 없애기

yarn add -D babel-plugin-transform-remove-console​ 또는 npm i babel-plugin-transform-remove-console --save-dev babel-plugin-transform-remove-console 을 설치해준다. 그리고 babel.config.js 에 있는 env.production 에 module.exports = function () { return { // ... other project config such as presets and plugins env: { production: { plugins: ['transform-remove-console'] } } }; }; 이렇게 추가해준다. 그럼 배포시 console은 삭제된다. 잘못..

React-Native 2023.01.14
이전
1
다음
더보기
프로필사진

주니어 프론트엔드 개발자의 성장 기록

  • 분류 전체보기 (47)
    • 프로그래밍 (3)
    • React-Native (12)
    • React (5)
    • Javascript (3)
    • Typescript (1)
    • 자료구조 (0)
    • 알고리즘 (19)
    • Git (2)
    • NextJS (2)

Tag

정렬, error, 백준, 알고리즘, ReactNative, 큐, IOS, 스택, 자료구조, 코딩, react, stack, 코딩테스트, 코테, 리액트, 리액트네이티브, 프로그래머스, 자바스크립트, xcode, javascript,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바