Skip to content

This is a minimal webpack configuration to quickly start a project.

License

Notifications You must be signed in to change notification settings

tomhoogenboom/webpack-boilerplate

Repository files navigation

Webpack Boilerplate

This is a minimal webpack configuration to quickly start a project.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Prerequisites

To run the application on your local machine you need to have Node.js installed. It is also required to have Yarn installed globally.

brew install yarn

Installing

To run the project locally execute the following steps:

Clone the project to your machine, navigate to the directory and remove the git folder

git clone [email protected]:tomhoogenboom/webpack-boilerplate.git <name-of-your-project>
cd <name-of-your-project>
rm -rf .git 

Install the dependencies via yarn:

yarn

Run the project:

yarn start

This will launch a webpack dev server with hot reloading configured.

For a production build execute:

yarn build

Webpack will transpile & bundle your JavaScript, compile SCSS into CSS and copy html files and images from src folder into a dist folder.

Built With

Authors

About

This is a minimal webpack configuration to quickly start a project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published