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

Simple caching to prevent duplicate styles #8

Merged
merged 2 commits into from
Jun 11, 2015

Conversation

joshwnj
Copy link
Member

@joshwnj joshwnj commented Jun 11, 2015

Added a failing test, where 2 sources both compose the same shared style. In this case we see the output contains a duplicate.

Test passes after we apply some simple caching so that a certain file is only ever processed once.

@geelen
Copy link
Member

geelen commented Jun 11, 2015

Looks good to me!

geelen added a commit that referenced this pull request Jun 11, 2015
Simple caching to prevent duplicate styles
@geelen geelen merged commit 31dc01a into css-modules:master Jun 11, 2015
@rtsao
Copy link
Contributor

rtsao commented Jun 11, 2015

👍 Thanks, I noticed this!

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