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

Minify CSS assets with cssnano if compress option is true #121

Merged
merged 1 commit into from
Apr 22, 2018

Conversation

nicksrandall
Copy link
Contributor

As the name of this PR suggests, this change will minify the CSS assets generated by Microbundle when the "compress" option is true.

I'm using cssnano to preform the minification using it's default "safe" mode. This also happens to be the same minifier that Webpack's "css-loader" uses.

Copy link
Collaborator

@ForsakenHarmony ForsakenHarmony left a comment

Choose a reason for hiding this comment

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

We already have postcss, so why not

@ForsakenHarmony ForsakenHarmony merged commit e445a0a into developit:master Apr 22, 2018
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.

3 participants