diff options
Diffstat (limited to 'docs/core-concepts/ui-renderers.md')
-rw-r--r-- | docs/core-concepts/ui-renderers.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/core-concepts/ui-renderers.md b/docs/core-concepts/ui-renderers.md index a95b0dbdf..a83d3f49b 100644 --- a/docs/core-concepts/ui-renderers.md +++ b/docs/core-concepts/ui-renderers.md @@ -100,10 +100,12 @@ Additionally, this entrypoint can define a [Snowpack plugin](https://www.snowpac export default { name: '@astrojs/renderer-xxx', // the renderer name client: './client.js', // relative path to the client entrypoint - server: './server.js', // relative path to the server entrypoint + server: './server.js', // optional, relative path to the server entrypoint snowpackPlugin: '@snowpack/plugin-xxx', // optional, the name of a snowpack plugin to inject snowpackPluginOptions: { example: true }, // optional, any options to be forwarded to the snowpack plugin knownEntrypoint: ['framework'], // optional, entrypoint modules that will be used by compiled source + external: ['dep'] // optional, dependencies that should not be built by snowpack + polyfills: ['./shadow-dom-polyfill.js'] // optional, module scripts that should be loaded before client hydration. }; ``` |