Skip to content

Commit

Permalink
chore: faster styled components
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 19, 2024
1 parent 8ecab2e commit a4d2259
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ const config = {
fullUrl: true,
},
},
env: {
// Matches the behavior of `sanity dev` which sets styled-components to use the fastest way of inserting CSS rules in both dev and production. It's default behavior is to disable it in dev mode.
SC_DISABLE_SPEEDY: 'false',
},
experimental: {
taint: true,
},
Expand Down

0 comments on commit a4d2259

Please sign in to comment.