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

Prebundle PostCSS plugins for minifyCSS option #315

Merged
merged 4 commits into from
Sep 8, 2022

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 8, 2022

This PR is trying to bundle PostCSS plugins used by minifyCSS option into Marp Core.

These plugins (from cssnano project) are designed for development with Node.js ecosystem. So some problems are brought in Marp Core:

Cons: Prebundle will bring complex rollup setting. I have thought about porting plugin implementation from originals, but I thought prebundling is still better to keep up to the latest of (more complex) minify logics.

Fix #314.

@yhatt yhatt merged commit 298968d into main Sep 8, 2022
@yhatt yhatt deleted the prebundle-minify-postcss-plugins branch September 8, 2022 18:11
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.

Usage or marp-core in browser context
1 participant