Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit dad228f

Browse files
committed
fix(gatsby-theme-docz): fixes large apps reload perf
Use createPages only on start. Stops completely re-creating all pages on every file change.
1 parent fac6bbb commit dad228f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

core/gatsby-theme-docz/gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
exports.createPages = require('./lib/createPages')
1+
exports.createPagesStatefully = require('./lib/createPagesStatefully')
22
exports.onCreateBabelConfig = require('./lib/onCreateBabelConfig')
33
exports.onCreateDevServer = require('./lib/onCreateDevServer')
44
exports.onCreateWebpackConfig = require('./lib/onCreateWebpackConfig')

0 commit comments

Comments
 (0)