Skip to content

lucasaid/webpack-template

Repository files navigation

Basic Webpack Template

Basic build of webpack that allows you to complile SASS and ES6 through babel and then minify css and js.

Setup

yarn install

yarn run build Builds unminified files
yarn run start Runs webpack dev server with watch command
yarn run sash Runs webpack dev server with watch command through webpack dashboard yarn run production Build minified files

Add React

  1. yarn add react react-dom -D

  2. Uncomment root div in public/index.html

  3. Uncomment React imports and React render in source/index.js

  4. Create source/app/App.jsx

  5. ?

  6. Profit

About

Basic webpack template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published