Git Product home page Git Product logo

webpack-workshop-part-two's Introduction

Webpack Workshop, Part 2

Target Audience

Developers, designers and BQAs.

Key Learning Objective

This workshop will build on the introductory webpack workshop and provide more material to help the students futher increase their knowledge of webpack.

Why is this Workshop Relevant

Webpack has become the most popular javascript build-tool for new projects and familiarity with it is important for both existing and new web development projects. This workshop provides an opportunity to dive into some of the more involved aspects.

Prerequisites

This workshop expects either participants have already taken the introductory workshop (webpack workshop) or else they already have basic familiarity with webpack. Participants should also have basic knowledge of how Node and NPM works as well as some familiarity with Typescript.

To take this workshop, you will need to have Node 4 (or better) installed in your computer (hopefully with NVM) and the editor of your choice (VScode, Webstorm, Atom, etc.).

Exclusions

  • We will not be covering all the available loaders and plugins. We will focus on only some important ones.
  • We will not focus on build systems for a particular framework (Angular 2 or React).

Topics

  • Webpack 1 vs 2. What are the main differences with webpack 2 and the key changes in syntax? (20 minutes)

  • The DefinePlugin and multiple environment builds. Using the DefinePlugin to help configure different builds for development, production, and test. (20 minutes)

  • Integrating Linting. Integrating linting for Javascript, Typescript, and CSS via tslint, jslint, jshint, eslint, stylelint (25 minutes)

  • Code-splitting and CommonsChunkPlugin. An introduction to the CommonsChunkPlugin and webpack code splitting (30 minutes)

  • Some other useful loaders and plugins. A review of some of the more popular loaders and plugins and their usage (25 minutes)

Slides

To open the slides, go to the slides folder and follow the instructions found on the README.md file on how to start the webserver for Reveal.js.

webpack-workshop-part-two's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.