Uh oh!
There was an error while loading. Please reload this page.
Static site generator - #82
Conversation
sokra
commented
Jun 19, 2015
pretty cool...
|
josephfinlayson
commented
Jun 22, 2015
Cheers, I will look into this |
sokra
commented
Jun 22, 2015
You could also look into https://github.com/markdalgleish/static-site-generator-webpack-plugin. Does it apply here? |
josephfinlayson
commented
Jun 22, 2015
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 |
josephfinlayson
commented
Jun 23, 2015
It's now cross platform |
There was a problem hiding this comment.
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/