---
title: "Discussion on \"Configure node externals in a NodeJS code that bundles React code\" | Hashnode"
description: "Discussion on \"Configure node externals in a NodeJS code that bundles React code\". Scenario\nIn 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..."
url: "https://hashnode.com/posts/configure-node-externals-in-a-nodejs-code-that-bundles-react-code/64217027f8f70a1a09864d16"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Configure node externals in a NodeJS code that bundles React code](https://shyamswaroop.hashnode.dev/configure-node-externals-in-a-nodejs-code-that-bundles-react-code?utm_source=hashnode&utm_medium=feed)

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, 2023 · 1 min read · shyamswaroop.hashnode.dev  
Read the article

-   [#webpack](https://hashnode.com/tag/webpack)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Shyam Swaroop](https://hashnode.com/@cruxcode)

@cruxcode · New York, USA

  
[View profile](https://hashnode.com/@cruxcode)

Redefining Developer Tools

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
