webpack API Manual
Guide
Section
Function
- optimize-tree(chunks, modules) async
- optimize-modules(modules: Module[])
- after-optimize-modules(modules: Module[])
- optimize-chunks(chunks: Chunk[])
- after-optimize-chunks(chunks: Chunk[])
- revive-modules(modules: Module[], records)
- optimize-module-order(modules: Module[])
- optimize-module-ids(modules: Module[])
- after-optimize-module-ids(modules: Module[])
- record-modules(modules: Module[], records)
- revive-chunks(chunks: Chunk[], records)
- optimize-chunk-order(chunks: Chunk[])
- optimize-chunk-ids(chunks: Chunk[])
- after-optimize-chunk-ids(chunks: Chunk[])
- record-chunks(chunks: Chunk[], records)
- additional-chunk-assets(chunks: Chunk[])
- record(compilation, records)
- optimize-chunk-assets(chunks: Chunk[]) async
- after-optimize-chunk-assets(chunks: Chunk[])
- optimize-assets(assets: Object{name: Source}) async
- after-optimize-assets(assets: Object{name: Source})
- build-module(module)
- succeed-module(module)
- failed-module(module)
- module-asset(module, filename)
- chunk-asset(chunk, filename)
- import()
- webpack()
- program(ast) bailing
- statement(statement: Statement) bailing
- statement if(statement: Statement) bailing
- resolve(context: String, request: String)
- resolve-step(types: String[], request: Request)
- module(request: Request) async waterfall
- directory(request: Request) async waterfall
- file(request: Request) async waterfall
- startup(source, module, hash)
Method
Option
Module
Plugin