Skip to content

A Webpack 5 boilerplate working with modern JavaScript, HTML, SCSS, images and etc. (optional with React, TypeScript)

License

Notifications You must be signed in to change notification settings

oksana-dev/webpack-5-boilerplate

Repository files navigation

Quick start

  1. Clone this repo using git clone https://github.com/oksana-dev/webpack-5-boilerplate.git <YOUR_PROJECT_NAME>
  2. Move to the directory: cd <YOUR_PROJECT_NAME>.
  3. Run npm i in order to install dependencies.

At this point you can run npm start to see the example app at http://localhost:3300.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3300 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles JavaScript, SCSS, images in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.

Optional(React or TypeScript)

In order to use this boilerplate with React or TypeScript change the branch to react or typescript

Contributing

Love this webpack-5 boilerplate and want to help? Thanks so much, there's something to do for everybody!

About

A Webpack 5 boilerplate working with modern JavaScript, HTML, SCSS, images and etc. (optional with React, TypeScript)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published