parcel plugin react static
1.0.0
This is a Parcel plugin to compile a React/styled-components single page app into a static bundle.
This allows you to do what is commonly known as "server-side rendering", without the server component.
Note: This has currently only been developed for personal use. It is untested, and extremely rigid in how it has been written. It makes a lot of assumptions that may not apply to your use case. It is also extremely unperformant. Please consider this when deciding whether to use it.
On the other hand, if you have a need for a plugin like this, please do consider contributing.
App.js
file that exports your main component#app
element in your HTML entry file.$ npm add parcel-plugin-react-static
// or
$ yarn add parcel-plugin-react-static