Skip to content

Commit

Permalink
feat: testing multiple experimental perf boosting strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jul 16, 2024
1 parent 8b72911 commit 3299a28
Show file tree
Hide file tree
Showing 98 changed files with 13,395 additions and 1,011 deletions.
6 changes: 4 additions & 2 deletions dev/test-next-studio/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ const config = {
},
// Makes it much easier to see which component got memoized by the react compiler
// when testing on https://test-next-studio.sanity.build
productionBrowserSourceMaps: true,
productionBrowserSourceMaps: process.env.REACT_COMPILER !== 'true',
// Only enable the react profiler when the compiler is disabled, to better use native browser profiling without the react profiler overhead
reactProductionProfiling: process.env.REACT_COMPILER !== 'true',
experimental: {
reactCompiler: process.env.REACT_COMPILER === 'true' ? true : false,
reactCompiler: process.env.REACT_COMPILER === 'true',
turbo: {
resolveAlias: {
'@sanity/block-tools': '@sanity/block-tools/src/index.ts',
Expand Down
Loading

0 comments on commit 3299a28

Please sign in to comment.