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
Introduction Loaders allow you to preprocess files as you require() or ?load? them. Loaders are kind of like ?tasks? are in other
Built-in plugins Plugins are included in your module by using the plugins property in the webpack config.
webpack is a module bundler. webpack takes modules with dependencies and generates static assets representing
What are loaders? Loaders are transformations that are applied on a resource file of your app. They are functions (running in node.js) that
Using webpack with gulp is as easy as using the node.js API.
The short way var webpack = require("webpack"); // returns a Compiler instance webpack({
There is a grunt plugin for using webpack and the webpack-dev-server:
Minimize To minimize your scripts (and your css, if you use the css-loader) webpack supports a simple option:
extension semantic loader examples .js
Page 3 of 5