Default Optimization settings for Modes #545
Replies: 5 comments 2 replies
-
Noticing these warning with the current settings, fwiw And looks like Next is moving to |
Beta Was this translation helpful? Give feedback.
-
Good post by Guy Bedford covering code / splitting and module preloading . |
Beta Was this translation helpful? Give feedback.
-
As part of working on #546 , I wasn't able to get a Only immediate thought I had was that maybe we could use sourcemaps to reverse engineer the source? But we don't necessarily want the source, we want the bundled output, but just nothing more than that, for just that particular file... 🤔 edit: actually, for CSS, it's done per file, so we might have a better chance supporting it that way, but how would be able to hint from the browser that is has a particular |
Beta Was this translation helpful? Give feedback.
-
An interesting note from this thread
|
Beta Was this translation helpful? Give feedback.
-
This could be a useful (optional) diagnostic tool to provide, maybe? |
Beta Was this translation helpful? Give feedback.
-
As Greenwood has the concepts of mode and optimization:
It would be good to explore and provide / document defaults for each mode.
defer
inline
defer
defer
inline
defer
defer
preload
preload
defer
async
Beta Was this translation helpful? Give feedback.
All reactions