I found that this boilerplate is great (as is spectacle), but there are some simple tweaks I think we could make to possibly move to more of a standard config
As such, I made a bunch of them. Here's a high level list, and I'll try and go through and add comments to the files when appropriate.
Adding webpack-dev-server
Moving dev/prod functionality into separate files for webpack config
Add html-webpack-plugin to automatically inject scripts
Build into dist, and only use dist/ directory for surge (rather than entire directory)
Please let me know if there's anything else I can do to help out/improve this PR.
Long-term, I'd love to get a fork of create-react-app working that supports markdown (and other necessary functionality of spectacle) and just use that, but I still think there's value in these changes.
Hello!
I found that this boilerplate is great (as is spectacle), but there are some simple tweaks I think we could make to possibly move to more of a standard config
As such, I made a bunch of them. Here's a high level list, and I'll try and go through and add comments to the files when appropriate.
Please let me know if there's anything else I can do to help out/improve this PR.
Long-term, I'd love to get a fork of create-react-app working that supports markdown (and other necessary functionality of spectacle) and just use that, but I still think there's value in these changes.
Thanks!