-
-
Notifications
You must be signed in to change notification settings - Fork 425
Revisit inline <style> issue #1115
Comments
Ouch! I've just understood that sapper works different with Rollup and Webpack. |
@Conduitry What kind of clarification you need on this one as this is foremost thing which is stopping use to use sapper for production env |
What needs clarification is the thing I mentioned in the initial issue description. As I said, it's not at all clear how the inlined critical styles are supposed to work, and this is definitely an adjacent question, because the previous attempt at removing the duplicate CSS files instead moved way too many styles into the inline |
@Conduitry for now can't we give developer a option to mention which all css he will need to be inlined just like a global option we can give inline option |
#1269 may somewhat obviate the need for this. If you use a CDN, then the |
In an attempt to fix #1076, I recently merged #1098, but this seems to have had an unpleasant side effect of moving a whole bunch of styles from
.css
files to the inline<style>
block. Some stuff needs to be rethought here.I asked Rich what he recalls being the 'critical' CSS that was supposed to end up in an inline
<style>
tag, and he saidso there's definitely some confusion here.
The text was updated successfully, but these errors were encountered: