Based on the official docs, if we set the target to node, Webpack will compile for usage in a Node.js-like environment (uses Node.js require to loa
target
node