Skip to content

No CSS minification when using css.extract = false option #2214

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

Closed
lehni opened this issue Aug 14, 2018 · 0 comments
Closed

No CSS minification when using css.extract = false option #2214

lehni opened this issue Aug 14, 2018 · 0 comments
Labels

Comments

@lehni
Copy link

lehni commented Aug 14, 2018

Version

3.0.0

Node and OS info

Node v9.11.2 / Yarn 1.7.0 / macOS 10.13.6

Steps to reproduce

When using Vue CLI 3 to create a library of components (vue-cli-service build --target lib) with the css.extract = false option, the CSS included in the minified JS file of the library (ending in umd.min.js) isn't minified.
When setting css.extract = true, the generated separate CSS file is minified.

What is expected?

The CSS that is "inlined" in the minified JS file should also be minified.

What is actually happening?

It is included as is, with lots of white-space, increasing file-size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants