Package Exports
- @fedify/solidstart
- @fedify/solidstart/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fedify/solidstart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@fedify/solidstart: Integrate Fedify with SolidStart
This package provides a simple way to integrate Fedify with SolidStart.
The integration code looks like this:
// src/middleware/index.ts
import { fedifyMiddleware } from "@fedify/solidstart";
import federation from "../lib/federation";
export default fedifyMiddleware(federation, (event) => "context data");Put the above code in your src/middleware/index.ts file, and set
middleware: "src/middleware/index.ts" in your app.config.ts.