feature: Rollup config file added for development #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rollup Dev Config
Rollup Configuration file을 새롭게 제작하였습니다.
이제
yarn build:dev
를 실행하면 원하는 프로젝트에 publish없이 바로바로 remember-ui 개발사항이 반영될 수 있도록 수정하였습니다.전제조건으로, 프로젝트 루트 디렉토리에
.env
파일을 생성해줘야 합니다.이후, 해당
.env
파일 안에 아래와 같이 원하는 디렉토리 명을 적어주면 됩니다. (~과 같은 디렉토리는 사용할 수 없습니다.).env 파일은 개발자별로 프로젝트가 다를 수 있기 때문에 gitignore 처리하였습니다. 개별적으로 생성하신 후 커밋은 하지 말아주시기 바랍니다.
기본적으로 watch 옵션이 들어갔기 때문에, 켜놓고 사용하면 변경사항을 저장할 때마다 파일을 새롭게 생성합니다. (평균적으로 저장을 누르면 약 1~2초 정도 시간이 발생합니다)