style tags are in reverse order
See original GitHub issueWhen you use getStyleTags you get styles in wrong order. That means chunks are first and main css is last. This will cause bad css visualisation because order must be correct.
Here is temporary workaround
const styleTags = appContext
.getStyleTags()
.split('\n')
.reverse()
.join('\n');
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Reverse Element Order with CSS Flexbox - David Walsh Blog
CSS Flexbox code to display and show HTML elements backwards.
Read more >HTML ol reversed Attribute - W3Schools
The reversed attribute is a boolean attribute. When present, it specifies that the list order should be descending (9,8,7...), instead of ascending (1,...
Read more >How to display a reverse-ordered list in HTML? - Stack Overflow
Show activity on this post. You can use flexbox to achieve this. It allows you to reverse the order with the flex-direction property....
Read more >Reverse the Order of HTML Elements using CSS3 Flexbox
I'll use row-reverse when I want to show reverse order horizontally. Now remember, it does not reverse the order based on numbers or...
Read more >HTML ol reversed Attribute - GeeksforGeeks
The HTML <ol> reversed Attribute is a Boolean Attribute and used to ordered the list in Descending Order(9, 8, 7, 6 …
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have to be sure to insert styles in the correct order. But we have to investigate what is the correct order first.
Probably the best way is to inject stuff like
normalize.css
manually in aheader template
. I am almost sure, that you can’t get “right” CSS order fromstats.json
, and observing calls to style-loaders is not possible with stream rendering. Personally, I’ve solved it using used-styles, butnormalize.css
is not used. And “use-order” does not reflect “import-order”. So, yet again, the best way is to solve the problem by hand - placenormalize.css
where it should be.