Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Encore wires this with `enableStimulusBridge(controllerJsonPath)` (reference `li

That loader is webpack-only, so it must be reimplemented here as a bundler-agnostic **virtual module** (unplugin `resolveId`/`load`): parse `controllers.json`, resolve each third-party controller from its npm package (honoring enabled + eager/lazy + `autoimport`), glob the local `assets/controllers/` dir, and emit the code that registers them on the Stimulus app. Prior art: `vite-plugin-symfony`'s `virtual:symfony/controllers` module.

Feature roadmap (see README): `entrypoints.json` (build + dev), `manifest.json`, asset versioning wired into the manifest, absolute/CDN `publicPath`, dev-server + HMR, SRI hashes, shared runtime chunk across entries, Symfony UX / Stimulus controllers.
Feature roadmap (see README): `entrypoints.json` (build + dev), `manifest.json`, asset versioning wired into the manifest, absolute/CDN `publicPath`, dev-server + HMR, SRI hashes, Symfony UX / Stimulus controllers.

## Reference: the project being replaced

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Symfony Reprise covers only the Symfony-side glue the bundlers leave out:
- 🧩 **Symfony UX / Stimulus**: registers `controllers.json` and local controllers, eager or lazy
- 🌐 **CDN support**: serve built assets from an absolute `publicPath`
- 🛡️ **Subresource Integrity**: SRI hashes in `entrypoints.json`
- 📦 **Shared runtime chunk**: one runtime shared across entries _(planned)_

Vite and Rsbuild already handle **Sass/Less/PostCSS**, **TypeScript**, **JSX/Vue/Svelte**, **code splitting**, **content hashing**, **source maps**, **minification** and **HMR** on their own, so Symfony Reprise does not reimplement any of that.

Expand Down
2 changes: 0 additions & 2 deletions assets/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ export interface Options {
* ```
*/
integrity?: IntegrityOptions;

// singleRuntimeChunk?: boolean
}

/** Hash algorithm used for Subresource Integrity. */
Expand Down
1 change: 0 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ leave out:
controllers, eager or lazy
- **CDN support**: serve built assets from an absolute ``publicPath``
- **Subresource Integrity**: SRI hashes in ``entrypoints.json``
- **Shared runtime chunk**: one runtime shared across entries *(planned)*

It generates the Encore-compatible ``entrypoints.json`` and ``manifest.json``
that Reprise's own Symfony bundle (``RepriseBundle``, still a stub) reads to
Expand Down
Loading