From eb011f26216d009b571b62d305c9c6ba53c32677 Mon Sep 17 00:00:00 2001 From: Kelly Mears Date: Mon, 14 Aug 2023 18:43:16 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=95=20docs(none):=20entrypoints=20mani?= =?UTF-8?q?fest=20(#2406)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document `entrypoints.json` ## Type of change **NONE: internal change** --- .../docs/content/learn/config/entrypoints.mdx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sources/@repo/docs/content/learn/config/entrypoints.mdx b/sources/@repo/docs/content/learn/config/entrypoints.mdx index fb9d93a3c9..65127f2261 100644 --- a/sources/@repo/docs/content/learn/config/entrypoints.mdx +++ b/sources/@repo/docs/content/learn/config/entrypoints.mdx @@ -45,3 +45,23 @@ export default async bud => { There is still more that this function can do, but for our overview this is more than enough. You can learn more about this and other details in the [bud.entry documentation](/reference/bud.entry). + +## Entrypoints manifest + +When you build your application, bud.js will generate a manifest file that contains a list of all the entrypoints and their +corresponding output files. This file is located at `@dist/entrypoints.json`. + +```json title=dist/entrypoints.json +{ + "app": { + "js": ["app.js"], + "css": ["app.css"] + }, + "landing": { + "js": ["landing.js"], + "css": ["landing.css"] + } +} +``` + +You can use this file to load your application scripts and styles using server-side languages like PHP or Ruby.