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

Generate a JS file for each page. #322

Closed
bnjmnt4n opened this issue Jun 10, 2016 · 1 comment
Closed

Generate a JS file for each page. #322

bnjmnt4n opened this issue Jun 10, 2016 · 1 comment

Comments

@bnjmnt4n
Copy link

I'm currently working on shifting my blog to Gatsby. I was wondering if it was possible to generate say one JavaScript file per page. This is to allow each post to use its own React components for demos and tutorials, while not adding excess page weight by causing users to load the whole blog's content.

@KyleAMathews
Copy link
Contributor

@demoneaux see #10 for discussions of ideas on how to do this. It'd be great if you want to pick this up and run with it and start creating some PRs!

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

No branches or pull requests

2 participants