Skip to main content

@roots/bud-entrypoints

@roots/bud-entrypoints generates a manifest of compiled assets to use in your server-side application.

Installation​

npm install @roots/bud-entrypoints --save-dev

entrypoints.json​

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"]
}
}