An opinionated starting point for frontend projects.
The hardest thing about just any work is to get started so the aim of this repository is to provida a solid boilerplate for frontend (HTML/(S)CSS/JS) projects.
Simply clone this repository, install the npm dependecies.
$ git clone git@github.com:slashadmin/webpack-boilerplate.git myproject
$ cd myproject
$ npm install
$ npm run watch
npm run build
run Webpack.npm run production
run Webpack and optimize output for production.npm run watch
will watch source files for changes and run Webpack automatically to recompile assets if needed. It will also start Browsersync serving the/public
directory.