CSS ordering remote & local components???
Closed this issue · 7 comments
From the wiki doc on css ordering it is not clear to me what order (if any) is guaranteed for remote components.
From the wiki I understand that remote component CSS is included first then local CSS from .locals
is appended after that.
Is there any order to the remote component CSS?
Is there a way to enforce order of CSS for remote and local components?
What effect does component-bundler
have on this order, does it preserve order when bundling?
maybe related: componentjs/builder2.js#29
Thanks @timaschew, will take a look...
yeah, remotes before locals per bundle.
@jonathanong, figured that thanks, but are remotes ordered in the order they are required or on whichever downloads first?
Order they are required. Remotes are all resolved before locals. There's a "flatten" function somewhere that has all the logic
@jonathanong, thanks for your time...
hahaha, @timaschew, yup, its definitely this: componentjs/builder2.js#29... a day later with randomly breaking CSS...