Skip to content

Mirta91/webpack-skeleton-project

Repository files navigation

Basic Webpack 4 setup

This is a skeleton for creating a project that builds assets using Webpack. This is the features that are included:

  • basic folder structure
  • build images (jpg, png, svg)
  • compiles sass to css
  • js babel transpiler
  • support for typescript
  • bootstrap
  • jquery (exposed)
  • dev web server + hot reloading
  • development i production environment
  • source maps enabled for css and js files
  • enabled including html partials (html can include other html)
  • lazy loadinga enabled for js module (data-on-load)

Base for setting up this project is used from this tutorial: Setting up webpack 4 for a project

NPM commands

Open demo app: http://localhost:8080

npm run dev

Build production

npm run build

About

Basic setup for future webpack projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published