Skip to content

Conversation

@alexanderchr
Copy link
Contributor

The i added to the style tag id in #13 solved some problems - but caused another: if one module is imported from multiple other modules it may be added as two style tags. This happens because one module may get two different identifiers: i.e. s-${id}-2 and s-${id}-0.

See this test case: https://github.com/alexanderchr/isomorphic-style-loader/blob/0533d1acc0fc1225fb1759854734091607f96be8/test/insertCssSpec.js#L69

@alexanderchr alexanderchr force-pushed the remove-index-from-id branch from 0533d1a to 5bbf41e Compare May 4, 2016 20:25
@coveralls
Copy link

coveralls commented May 4, 2016

Coverage Status

Coverage increased (+9.2%) to 84.211% when pulling 5bbf41e on alexanderchr:remove-index-from-id into 6ff8064 on kriasoft:master.

@coveralls
Copy link

coveralls commented May 4, 2016

Coverage Status

Coverage increased (+8.9%) to 83.929% when pulling 5bbf41e on alexanderchr:remove-index-from-id into 6ff8064 on kriasoft:master.

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