Skip to content
This repository has been archived by the owner on Apr 29, 2018. It is now read-only.
/ webpack-2-example Public archive

Lets learn Webpack v2: module bundler

License

Notifications You must be signed in to change notification settings

ankurk91/webpack-2-example

Repository files navigation

Webpack v2 by example

Lets learn WebPack : The module bundler

See webpack-1 branch for v1

Prerequisites

  • node js >=6.9.1
  • npm >=3.10.9

Quick Start

  • Clone this repo, checkout to desired branch
# Install dependencies
npm install

# Run dev server at localhost:9000
npm run dev

  • Generate dist (production ready) files
npm run build

Resources

Directory Structure

├── project-name/
│   ├── dist/
│   │   ├── js/
│   │   ├── css/
│   │   ├── fonts/
│   │   ├── img/
│   │   └──  index.html
│   ├── node_modules/
│   ├── src/
│   │   ├── img/
│   │   ├── js/
│   │   ├── css/
│   │   ├── index.js
│   │   └──  index.html
│   ├──  .gitignore
│   ├──  webpack.config.js
│   └──  package.json

License

MIT License

About

Lets learn Webpack v2: module bundler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published