Volt.ChunkGraph.Chunk (Volt v0.12.0)

Copy Markdown View Source

A JavaScript output chunk in the production dependency graph.

Chunks group module paths by loading behavior: the entry chunk loads first, async chunks are loaded by dynamic imports, common chunks contain shared code, and manual chunks follow user configured boundaries.

Summary

Types

t()

@type t() :: %Volt.ChunkGraph.Chunk{
  id: String.t(),
  imports: [String.t()],
  modules: [String.t()],
  type: :entry | :async | :common | :manual
}