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

Improved way of injecting css + some refactoring #60

Merged
merged 4 commits into from
Mar 17, 2018

Conversation

malinbranduse
Copy link
Contributor

Biggest visible change in this PR is the fact that browsersync now reloads/injects only the changed css files.
Other than that, I've refactored the plugin to an ES6 class, since we've switched to that, and also the css emission file.
All formatting and other changes were made by Prettier.

This PR was fragmented from my update to webpack 4 (which is coming up in the next PR), decided it's best to separate them since it might be a good addition.

Let me know what you think @Va1 .

@Va1 Va1 merged commit ad07c02 into Va1:master Mar 17, 2018
@Va1
Copy link
Owner

Va1 commented Mar 17, 2018

@malinushj looks great, thank you!

i am not happy with formatting though, i think i'll introduce automatic solution in the upcoming release

@malinbranduse
Copy link
Contributor Author

malinbranduse commented Mar 17, 2018 via email

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