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 d19a619
Show file tree
Hide file tree
Showing 99 changed files with 16,885 additions and 1,225 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 d19a619

Please sign in to comment.