So far I've been developing with express, react, webpack and socket io on development side, but I wanna start to work on the production site. What modules shold I get? I also would appreciate any set up source for production, ty!
It's hard to suggest what changes you need to make to prepare your app for production without knowing exactly what you're currently doing in development however a few things to consider include:
webpack-dev-server
or webpack-dev-middleware
during development you'll want to make sure you instead bundle and serve static files for production using the regular webpack cli.-p
to the webpack cli or by adding the UglifyJsPlugin
to your config.You might like to take a look at the 60fram.es boilerplate which includes both development and production builds.