Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade latest Greenwood #2

Merged

Conversation

thescientist13
Copy link

Changes

  1. Upgrade to latest (alpha] version of Greenwood
  2. Use default Greenwood recommendations for custom imports and loader (fyi, new syntax will be available / promoted soon - migrate to register function for NodeJS custom imports (no more flag?) ProjectEvergreen/greenwood#1220)
  3. Fixed iconify import statement
  4. Removed reference to ../components/split-view.ts since it doesn't exist
  5. Needed to add type="module" to frontmatter import for /components/section-card.ts since it is an ESM file
  6. Removed export const prerender ... usages from components, as it is only applicable to / supported for SSR pages
  7. Cleanup greenwood.config.js
    • disable prerender
    • remove staticRouter as it is already set to false by default
    • No need to pass unified as markdown plugin
  8. Added an .nvmrc file to signal minimum support NodeJS version

Screenshot 2024-12-28 at 6 23 02 PM
Screenshot 2024-12-28 at 6 23 10 PM
Screenshot 2024-12-28 at 6 23 18 PM
Screenshot 2024-12-28 at 6 23 26 PM


There was a lot of content to go through, but pretty sure it's all working! 😊 🤞

@thescientist13 thescientist13 changed the title upgrade latest greenwood upgrade latest Greenwood Dec 28, 2024
@lschierer lschierer merged commit 0863fbd into lschierer:greenwood Dec 29, 2024
@lschierer
Copy link
Owner

You rock, thanks ever so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants