Skip to main content

2 posts tagged with "webpack"

View All Tags

Setup React Application using Typescript and Webpack

· 4 min read
Shivam Pawar
Senior Software Developer @Bridgenext

In this post we will learn how to add support of TypeScript to your React Js application having webpack and babel configured.

Please note that in this post I’m going to modify previously setup React Js application to add support for TypeScript. If you haven’t yet gone through that post then please start with Setup Webpack and Babel for a React Js Application and come back to this post.

Setup Webpack And Babel for a React JS Application

· 7 min read
Shivam Pawar
Senior Software Developer @Bridgenext

Introduction

As a beginner in React.js, I used to setting up my react application using a single command line tool called create-react-app (CRA) which is a open source project developed by developers at Facebook for bootstrapping your react application and serve a simple boilerplate. But as a developer I’m always curious to understand what actually this command does ? What are the other dependencies required to serve a react application ? As a beginner I was thinking like react-scripts is the only dependency that required to build and run react app. But as I drill down more in React I get to know more about transpiler and bundler.