mkdir client
cd client
npm init -y // creates package.json file with default configurations
npm install react react-dom // install react and react-dom dependencies
touch .gitignore // creates gitigonre file
mkdir app // create app folder in your project folder
cd app
touch index.js index.css // creates two files in app directory
npm install --save-dev @babel/core @babel/preset-env @babel/preset-react webpack webpack-cli webpack-dev-server babel-loader css-loader style-loader html-webpack-plugin -- adding all require depnendincies to the project
touch webpack.config.js // creating webpack configurations file
-
Notifications
You must be signed in to change notification settings - Fork 0
moamlrh/webpack-config
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
webpack configration with react
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published