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

feat(content): add support for lazy loading content files #235

Merged
merged 5 commits into from
Jan 29, 2023

Conversation

brandonroberts
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Which package are you modifying?

  • vite-angular-plugin
  • astro-angular
  • create-analog
  • router
  • platform
  • content

What is the current behavior?

Issue Number: #234

What is the new behavior?

Content files are lazy-loaded and not included in the main bundle. The content files list includes the filename and frontmatter attributes for lists.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@netlify
Copy link

netlify bot commented Jan 28, 2023

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit fa9faf8
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/63d6c342e653680008ac09fb
😎 Deploy Preview https://deploy-preview-235--analog-app.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 settings.

@netlify
Copy link

netlify bot commented Jan 28, 2023

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit fa9faf8
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/63d6c3422cad0400098128f1
😎 Deploy Preview https://deploy-preview-235--analog-docs.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 settings.

@netlify
Copy link

netlify bot commented Jan 28, 2023

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit fa9faf8
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/63d6c3426f91940008c6fc79
😎 Deploy Preview https://deploy-preview-235--analog-blog.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 settings.

@brandonroberts brandonroberts merged commit 4709629 into main Jan 29, 2023
@brandonroberts brandonroberts deleted the feat-lazy-load-content-files branch January 29, 2023 19:29
Villanuevand pushed a commit to Villanuevand/analog that referenced this pull request Sep 12, 2023
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.

None yet

1 participant