Skip to content

enzolutions/webpack-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack-demo

This repository was used during a the webinar Introduction to Webpack hosted by weKnow. During this session I tried to show how to use Webpack.

Webpack is a nodejs tools used to create bundles to distrube your node applications providing all yours scripts, images, css and others assets.

Installation

$ npm install

Examples

Simple bundle packaging

$ npm run build

Packing multiple bundles

$ npm run build:multiple

Create a package for all vendors

$ npm run build:implicit

Create two specific packages for vendors

$ npm run build:explicit

Ignore partial parts of a vendor

$ npm run build:ignore

Reduce bundle sizes grouping bungles by chunks

$ npm run build:split

Minify bundles

$ npm run build:uglify

Gzip bundles

$ npm run build:compression

Process LESS and CSS

$ npm run build:css

About

Webpack demostation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors