You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
Hey, it's super easy. As far as webpack goes, literally all you need to do is remove the server entry point in ~/webpack.config.js. That file can now just read:
Webpack will now only ever bundle your client application. If you want to remove all the extra stuff that's no longer needed in the project, you can delete these folders/files:
~/build/webpack/server
~/server
~/src/entry-points/server.js
You may have to tweak the npm scripts in package.json and Procfile if you plan to use any that touched the server (e.g. npm run deploy), just to remove any remaining references to the server, but all of that should be pretty straightforward. Using npm run dev and npm run compile will continue to function without any additional work. And then pretty much all that's left is to remove the Koa-related dependencies (not necessary, but would cut down on your install size).
But yeah, that's pretty much it. The server stuff is all pretty well isolated and can just be ignored for the most part, even without significant changes to the project.
How easy would it be to modify this boilerplate so it's not using koa, and simply becomes a boilerplate for react and redux?
The text was updated successfully, but these errors were encountered: