Documentation
Documentation
| Removed | Use instead |
|---|---|
hosted({ url }) | hosted({ backendURL }), or the framework's backend URL variable |
createManifestTransport({ manifest }) | createManifestTransport({ snapshot }) |
assertDecisionInputs defaulting to false on hosted() | It now defaults to true whenever initURL is set. Pass false to turn it off. |
hostedModes from c15t/runtime/provider | readHostedMode(mode) |
buildManifest: true in Astro and Nuxt | onBuildError: 'fail', the default for production builds. buildManifest: false is manifest({ source: 'runtime' }). |
A generated c15t-manifest.ts and its .gitignore entry | import { snapshot } from 'c15t/generated'. Most apps no longer import it at all. |
The build options outputFile, exportName, importSource and rootDir | Removed. The snapshot is a virtual module, or a file under node_modules/.cache/c15t/ in Next.js. |