-
Notifications
You must be signed in to change notification settings - Fork 321
Static site generator #82
base: master
Are you sure you want to change the base?
Conversation
pretty cool...
|
Cheers, I will look into this |
You could also look into https://github.com/markdalgleish/static-site-generator-webpack-plugin. Does it apply here? |
It wouldn't help make this platform independent, I think something like this https://github.com/douglasduteil/node-git-deployor would help here. I'll test it when I get some time. What's cool about this is it gives you the simplest path to deploy react-starter, which means it spans from something that's almost production ready, so something than can be placed on the internet in ten minutes, without even splinning up a server |
It's now cross platform |
@@ -0,0 +1,15 @@ | |||
require('shelljs/global'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add shelljs to the package.json
This PR creates a new NPM task (
npm run build-static
) that makes it easy to get a static site running on github pages.It stops the generation of async modules, includes a skeleton index.html folder, and provides a shell script that automates the creation of a github page - you can see the results here: http://josephfinlayson.github.io/react-starter/