Emit hashed static assets in Bridgeable builds
This commit is contained in:
@@ -53,6 +53,7 @@ The CLI preserves the current Bridgeable Components production contract:
|
||||
- Section CSS and JS are emitted as standalone hashed assets.
|
||||
- Component CSS is expected to be imported by global CSS or section CSS.
|
||||
- Component JS is emitted only when it self-registers with `window.initBlock`.
|
||||
- Static image, font, and video assets are emitted as hashed files and added to `manifest.json`.
|
||||
- `*.twig` and `*.component.json` files are copied into the output.
|
||||
- Storybook-only files, fixture data, docs, build config, `node_modules`, `.git`, and previous build output are excluded.
|
||||
- Vite emits `manifest.json`, which the WordPress Bridgeable Components plugin uses to resolve hashed asset filenames.
|
||||
|
||||
Reference in New Issue
Block a user