wbkd/webpack-starter

CSS injected lately during development phase

Closed this issue · 1 comments

Hello,
Is there a way to inject CSS directly in the HTML instead using Javascript to load it?
During development on page refresh all elements get displayed "unstyled" for few seconds.
Thanks

Hey. It's a standard behaviour in order see the new styles without a page reload and for a faster development experience. If you don't like it you could use the production css loader settings where a file is generated.