Data Structures

A high-level description of the important data structures

TODO

This is not intended to be an API documentation but rather introduces the concepts behind these types so that reading the API definition doesn't leave you puzzled.

ΒΆ Asset

Any file supported by Parcel, such as JS, CSS, or HTML.

ΒΆ Dependency

When a file depends on or requires other files, those imports are dependencies.

ΒΆ AssetGraph

Graph data structure representing all assets and their dependencies on one another.

ΒΆ Bundle

Groupings of assets that get placed together in a single file. Bundles will (generally) contain only assets in the same language.

ΒΆ BundleGraph

Graph data structure containing bundles including their assets and dependencies.