Add some tutorials for JS development
The docs used to contain some tutorials for getting a small JavaScript project up and running with various bundlers and setups.
Over time that section grew to take a considerable chunk of the docs, and it was unwieldy to maintain, so it was dropped during the rewrite of the docs.
I am not sure at all if we should include such extensive documentation for how to bootstrap a project, as it feels like it would be more suited for inclusion in the cookbook and we could just redirect there? (cc @JordanMartinez)
That might be a good idea. At the very least, the new spago is the kind of tool I wanted for the cookbook, as each recipe is technically its own package.
It would also be good if it were easy to switch to a production build. Sure there is bundle but the output file still has to be wired up. Also production builds can require different backends like recommended here https://github.com/aristanetworks/purescript-backend-optimizer Not sure how this scenario can be implemented in the new spago