Skip to content

Commit

Permalink
Decrease JS by targeting modern browsers only. (leerob#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob committed May 24, 2022
1 parent 99c4fa6 commit c46aa70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ module.exports = withContentlayer({
'pbs.twimg.com' // Twitter Profile Picture
]
},
experimental: {
legacyBrowsers: false,
browsersListForSwc: true
},
async headers() {
return [
{
Expand Down

0 comments on commit c46aa70

Please sign in to comment.