Library and externals
  • References/JavaScript/Build Tools/Webpack/Guides

You developed a library and want to distribute it in compiled/bundled versions (in addition to the modularized version). You want to allow the user to use it in a &l

2025-01-10 15:47:30
Loaders
  • References/JavaScript/Build Tools/Webpack/Api

Introduction Loaders allow you to preprocess files as you require() or ?load? them. Loaders are kind of like ?tasks? are in other

2025-01-10 15:47:30
Using Plugins
  • References/JavaScript/Build Tools/Webpack/Getting Started

Built-in plugins Plugins are included in your module by using the plugins property in the webpack config.

2025-01-10 15:47:30
What is webpack?
  • References/JavaScript/Build Tools/Webpack/Getting Started

webpack is a module bundler. webpack takes modules with dependencies and generates static assets representing

2025-01-10 15:47:30
Using Loaders
  • References/JavaScript/Build Tools/Webpack/Getting Started

What are loaders? Loaders are transformations that are applied on a resource file of your app. They are functions (running in node.js) that

2025-01-10 15:47:30
gulp
  • References/JavaScript/Build Tools/Webpack/Webpack With

Using webpack with gulp is as easy as using the node.js API.

2025-01-10 15:47:30
Node.js API
  • References/JavaScript/Build Tools/Webpack/Api

The short way var webpack = require("webpack"); // returns a Compiler instance webpack({

2025-01-10 15:47:30
grunt
  • References/JavaScript/Build Tools/Webpack/Webpack With

There is a grunt plugin for using webpack and the webpack-dev-server:

2025-01-10 15:47:30
Optimization
  • References/JavaScript/Build Tools/Webpack/Guides

Minimize To minimize your scripts (and your css, if you use the css-loader) webpack supports a simple option:

2025-01-10 15:47:30
loader conventions
  • References/JavaScript/Build Tools/Webpack/Lists

extension semantic loader examples .js

2025-01-10 15:47:30