-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up rollup and package json for SCSS #1491
Set up rollup and package json for SCSS #1491
Conversation
🦋 Changeset detectedLatest commit: 5319a5f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Chromatic Report🚀 Congratulations! Your build was successful! |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## styled-system #1491 +/- ##
==============================================
Coverage 87.27% 87.27%
==============================================
Files 279 279
Lines 3835 3835
Branches 806 806
==============================================
Hits 3347 3347
Misses 415 415
Partials 73 73 ☔ View full report in Codecov by Sentry. |
1cd06e5
to
5319a5f
Compare
* feat(styles): add rollup-postcss-plugin and set up build config * chore(pkg): add css files to side effects and sub path module * chore(changeset): add changeset * build(rollup): add custom generate scoped name string
Self Checklist
CODEOWNERS
file.Related Issue
Summary
from b55b75d
SCSS module을 빌드할 수 있는 환경을 구성합니다
Details
sass
,postcss
를 사용하여 직접 롤업 플러그인을 구성하는 방법을 고려해보았지만, 1. 빠른 시간 안에 구현은 조금 어려울 듯하고 2. 해당 라이브러리로 원하는 동작이 충분히 잘 구현되어 라이브러리를 사용하기로 결정했습니다.autoprefixer
postcss 플러그인을 추가합니다. (+ 현재 브라우저 리스트 기준 vendor prefix가 필요한 케이스는 없음)Breaking change or not (Yes/No)
Yes
이제 bezier-react에서 스타일 시트를 export 합니다. 앱의 루트에서 아래와 같이 스타일 시트를 import 해야합니다.
References