summaryrefslogtreecommitdiff
path: root/examples/framework-svelte
diff options
context:
space:
mode:
authorGravatar Okiki Ojo <okikio.dev@gmail.com> 2022-06-14 14:08:14 -0400
committerGravatar GitHub <noreply@github.com> 2022-06-14 14:08:14 -0400
commitd46f8fb14d3c702d62cc327de23562078fca0088 (patch)
tree3ddb113889a3f10782e6ec42642720356cd01ac6 /examples/framework-svelte
parent8ca284b080a8551203427204cb27040013a40132 (diff)
downloadastro-d46f8fb14d3c702d62cc327de23562078fca0088.tar.gz
astro-d46f8fb14d3c702d62cc327de23562078fca0088.tar.zst
astro-d46f8fb14d3c702d62cc327de23562078fca0088.zip
feat: support optional and conditional integrations (#3590)
* feat(integrations): support optional integrations By making integration optional, Astro can now ignore null or undefined Integrations instead of giving an internal error most devs can't read/won't understand. This also enables optional integrations, e.g. ```ts integration: [ // Only run `compress` integration in production environments, etc... import.meta.env.production ? compress() : null ] ``` * ci: add tests for optional integration * docs: add changelog
Diffstat (limited to 'examples/framework-svelte')
0 files changed, 0 insertions, 0 deletions