A croc of 💩 that works around issues with styled omponents renderin is production mode
Last updated 2 years ago by mauricebutler .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install croc-of 
SYNC missed versions from official npm registry.


A croc of ???? that works around current issues with styled-components rendering is production mode.

Enables snapshots to be taken of pages at build time.

Does so by bundling code with parcel, running a dev server, saving the files, then rebuilding all over again in prod mode, cause you know its 2018 and thats the state of the web


Just probably dont.

I threw this together with lots of copy pasting and not a care for anything other than the output.

Hopefully will only be using it for a couple weeks...

If you must put a croc.js file in your root to match the config and give it some routes.

Then just call croc

Each route hit will be saved in all its styled glory in the dist folder as route + '/index.html'

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |