Configure node externals in a NodeJS code that bundles React code
Scenario In most cases, we bundle TypeScript/JavaScript code to run in NodeJS only when we are doing SSR with a frontend library such as React. We generally use webpack-node-externals to create a JS bundle that will be run inside NodeJS. We use webpa...
Mar 27, 20231 min read14