Commit 9d8516a
committed
refactor(gatsby-node): simplify page creation logic and remove redundant redirects
- Removed creation of redundant redirects for page paths during CI builds
ref-actor Simplified(gatsby-node): simplify page creation and remove lite mode redirects env
CreatePage wrapper to directly call createPage
- Removed legacy lite mode redirects and related placeholder pages
- Simplified env- Retained all page templates andCreate GraphQL queries without modification
-Page function to directly call createPage without redirects
Kept collection filtering and pagination- Removed redundant slug slash redirects in CI environment
logic intact
- Kept existing GraphQL queries and page creation- No logic intact
- Maintained excluded collections handling and functional changes to node field creation or schema customization full site build flag
- Ensured dev
- Improved code clarity 404 page caching and webpack config remain unchanged by removing unnecessary redirect side effects
Signed-off-by: Abmarne <abhirajmarne11@gmail.com>1 parent 6b7a832 commit 9d8516a
1 file changed
+1
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 57 | + | |
72 | 58 | | |
73 | 59 | | |
74 | 60 | | |
| |||
0 commit comments