summaryrefslogtreecommitdiff
path: root/.changeset/stupid-points-refuse.md
diff options
context:
space:
mode:
authorGravatar Fred K. Bot <108291165+fredkbot@users.noreply.github.com> 2022-10-13 09:29:24 -0700
committerGravatar GitHub <noreply@github.com> 2022-10-13 12:29:24 -0400
commit81d57f2638aab02cd9a33174854a9912e4614565 (patch)
treed389d73889c926deb9aa14875290c5a0669e586b /.changeset/stupid-points-refuse.md
parent3918787cb9676a8c6b9be371ae90edeb676f4e8f (diff)
downloadastro-@astrojs/svelte@1.0.2.tar.gz
astro-@astrojs/svelte@1.0.2.tar.zst
astro-@astrojs/svelte@1.0.2.zip
* [ci] release * Update packages/integrations/node/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to '.changeset/stupid-points-refuse.md')
-rw-r--r--.changeset/stupid-points-refuse.md49
1 files changed, 0 insertions, 49 deletions
diff --git a/.changeset/stupid-points-refuse.md b/.changeset/stupid-points-refuse.md
deleted file mode 100644
index e79106541..000000000
--- a/.changeset/stupid-points-refuse.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-'astro': minor
-'@astrojs/cloudflare': minor
-'@astrojs/deno': minor
-'@astrojs/image': minor
-'@astrojs/netlify': minor
-'@astrojs/node': minor
-'@astrojs/vercel': minor
----
-
-# New build configuration
-
-The ability to customize SSR build configuration more granularly is now available in Astro. You can now customize the output folder for `server` (the server code for SSR), `client` (your client-side JavaScript and assets), and `serverEntry` (the name of the entrypoint server module). Here are the defaults:
-
-```js
-import { defineConfig } from 'astro/config';
-
-export default defineConfig({
- output: 'server',
- build: {
- server: './dist/server/',
- client: './dist/client/',
- serverEntry: 'entry.mjs',
- }
-});
-```
-
-These new configuration options are only supported in SSR mode and are ignored when building to SSG (a static site).
-
-## Integration hook change
-
-The integration hook `astro:build:start` includes a param `buildConfig` which includes all of these same options. You can continue to use this param in Astro 1.x, but it is deprecated in favor of the new `build.config` options. All of the built-in adapters have been updated to the new format. If you have an integration that depends on this param we suggest upgrading to do this instead:
-
-```js
-export default function myIntegration() {
- return {
- name: 'my-integration',
- hooks: {
- 'astro:config:setup': ({ updateConfig }) => {
- updateConfig({
- build: {
- server: '...'
- }
- });
- }
- }
- }
-}
-```