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

Extract CSS and have smaller build size. #310

Merged
merged 2 commits into from May 1, 2017
Merged

Extract CSS and have smaller build size. #310

merged 2 commits into from May 1, 2017

Conversation

zigomir
Copy link
Contributor

@zigomir zigomir commented May 1, 2017

Extracting CSS into a Single File vue-loader.

This gets us ~7,6K smaller build, because we don 't need JS to inject styles into head during runtime.

Comparison:

Before:
css-injected-into-head

After:
extracted-css-file

@gauravtiwari gauravtiwari merged commit c50699a into rails:master May 1, 2017
@gauravtiwari
Copy link
Member

Great thanks 👍

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.

None yet

2 participants