Skip to content

feat(config)!: force successful SSG generation, remove ssg.strict and add ssg.fallback#2015

Merged
Timeless0911 merged 5 commits intomainfrom
syt/ssg.stract
Mar 28, 2025
Merged

feat(config)!: force successful SSG generation, remove ssg.strict and add ssg.fallback#2015
Timeless0911 merged 5 commits intomainfrom
syt/ssg.stract

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Mar 28, 2025

Summary

Rspress now requires ssg to be successful

It means rspress would emit error if ssg generation fails. The process will be directly terminated, rather than fallback to the csr products

Remove ssg.strict and add ssg.fallback in Rspress v2, see #1105 (comment)

Related Issue

#1317

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 28, 2025

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit 9891c04
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/67e66850219dab0008350442
😎 Deploy Preview https://deploy-preview-2015--aquamarine-blini-95325f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🔴 down 18 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 28, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 9891c04
🔍 Latest deploy log https://app.netlify.com/sites/rspress-v2/deploys/67e66850245a5b0008de7079
😎 Deploy Preview https://deploy-preview-2015--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Timeless0911
Timeless0911 previously approved these changes Mar 28, 2025
@Timeless0911 Timeless0911 changed the title feat(ssg.strict)!: ssg strict by default in v2 feat!: enable \ssg.strict\ by default Mar 28, 2025
@Timeless0911 Timeless0911 changed the title feat!: enable \ssg.strict\ by default feat!: enable ssg.strict by default Mar 28, 2025
@Timeless0911 Timeless0911 enabled auto-merge (squash) March 28, 2025 08:08
@SoonIter SoonIter changed the title feat!: enable ssg.strict by default feat(config)!: enable ssg.strict by default, and remove ssg.strict, add ssg.fallback Mar 28, 2025
@SoonIter SoonIter changed the title feat(config)!: enable ssg.strict by default, and remove ssg.strict, add ssg.fallback feat(config)!: force successfuly SSG generation, remove ssg.strict and add ssg.fallback Mar 28, 2025
Co-authored-by: Timeless0911 <50201324+Timeless0911@users.noreply.github.com>
@SoonIter SoonIter changed the title feat(config)!: force successfuly SSG generation, remove ssg.strict and add ssg.fallback feat(config)!: force successful SSG generation, remove ssg.strict and add ssg.fallback Mar 28, 2025
@SoonIter SoonIter requested a review from Timeless0911 March 28, 2025 09:30
@Timeless0911 Timeless0911 changed the title feat(config)!: force successful SSG generation, remove ssg.strict and add ssg.fallback feat(config)!: force successful SSG generation, remove ssg.strict and add ssg.fallback Mar 28, 2025
@Timeless0911 Timeless0911 merged commit 2e7fe49 into main Mar 28, 2025
12 checks passed
@Timeless0911 Timeless0911 deleted the syt/ssg.stract branch March 28, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants