Skip to content

️‍πŸ”₯ A minimal boilerplate for creating React.js Applications with webpack5, babel, Eslint & Prettier 🎯.

License

Notifications You must be signed in to change notification settings

junaid-home/react-webpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

React Webpack Starter

A minimal boilerplate for creating React.js Applications with webpack5, babel, ES6+, Eslint & Prettier.

Getting started

Clone this project to any folder on your local machine.

git clone https://github.com/junaid-home/react-webpack-starter.git <YOUR_PROJECT_NAME>

Navigate into the folder name specified in the provious step.

cd <YOUR_PROJECT_NAME>

Installing dependencies

npm install

For those who use yarn

yarn install

Running the App in development

In order to run webpack development server run

npm start

or

yarn start

This command would initialize webpack development server. The app will automatically reload if you change any of the source files.

Note: by default webpack development server runs on port 3000, in order to change this default behaviour set PORT Environment Variable to any number you want your development server to run on.

Linting

npm run lint

or

yarn lint

Prettifying

npm run format

or

yarn format

Bundling For Production

For production build, run

npm run build

or

yarn build

This would create a production optimized version of Your Application in the root of your project directory.

Features

βœ… ES6 Modules

βœ… CSS Support

βœ… File/Image imports

βœ… Web App Manifest

βœ… Lazy Loading

βœ… Local Development Server

βœ… Fast Reloading in Development

βœ… Source Maps

βœ… Production Optimizations

βœ… Code Spliting

βœ… Linting

βœ… Prettifying

❌ SASS Support

License

MIT

About

️‍πŸ”₯ A minimal boilerplate for creating React.js Applications with webpack5, babel, Eslint & Prettier 🎯.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published