Skip to content
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

PostCSS support #241

Merged
merged 17 commits into from
Aug 22, 2022
Merged

PostCSS support #241

merged 17 commits into from
Aug 22, 2022

Conversation

nvh95
Copy link
Owner

@nvh95 nvh95 commented Aug 20, 2022

Summary/ Motivation (TLDR;)

Support PostCSS

Related issues

Features

  • Fully support PostCSS
  • Add examples to jest-preview-ecosystem-ci
    • Add tailwindcss for angular (tailwindcss without postcss config)
    • Add tailwindcss for vite-react (tailwindcss with postcss config)

TODO

- [ ] Speedup PostCSS by combining havePostCss with processPostCss into one. See #247

@netlify
Copy link

netlify bot commented Aug 20, 2022

Deploy Preview for jest-preview-library canceled.

Name Link
🔨 Latest commit d65fc88
🔍 Latest deploy log https://app.netlify.com/sites/jest-preview-library/deploys/630361a1d9e7b400098e5a95

@nvh95 nvh95 requested a review from ntt261298 August 21, 2022 03:39
@nvh95 nvh95 marked this pull request as ready for review August 21, 2022 18:41
@nvh95 nvh95 changed the title Postcss support PostCSS support Aug 21, 2022
@@ -9,7 +8,7 @@ function makeBundle({ filePath, dir = 'dist' }) {
dir: dir,
format: 'cjs',
},
plugins: [typescript(), terser()],
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't feel like I need to save some kb for a Nodejs app.
Do not terser it helps me debug faster.
I need to learn about source map, to see if it resolves my problem.

src/transform.ts Outdated Show resolved Hide resolved
@nvh95 nvh95 merged commit d525e9f into main Aug 22, 2022
@nvh95 nvh95 deleted the postcss-support branch August 22, 2022 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants