Skip to main content

@roots/bud-entrypoints

@roots/bud-entrypoints generates an enhanced asset manifest for usage in server-powered applications like Laravel and WordPress.

Installation

yarn add @roots/bud-entrypoints --dev

Example output

Assets are broken down by entrypoint and then filetype.

If a runtime is being generated it should always be the first item in the js array.

entrypoints.json
{
"entrypoint-a": {
"js": ["runtime.js", "entrypoint-a.js"],
"css": ["entrypoint-a.css"]
},
"entrypoint-b": {
"js": ["runtime.js", "entrypoint-b.js"],
"css": ["entrypoint-b.css"]
}
}