Updated according to new configuration#5478
Conversation
🦋 Changeset detectedLatest commit: 8f75400 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@nemo0 can you update the other readmes? |
|
Hey @matthewp . Sure. I would love to update the readmes. |
Astro imports the `defineConfig` function from `astro/config`. The `integrations` key needs to be passed into the `defineConfig` function, but it is not shown in the README. Updated the README according to the CLI example.
|
Found the last one in the svelte integration readme line 102 |
|
Just a heads up that because this PR was opened so long ago, one of its original pages was outdated. Since it was accepted into the main branch for its minor changes to the config example, it brought back with it the "old" page. And, this merging was done after I had looked at the changes and approved. I'm not sure how we avoid this from happening again, but maybe when addressing a super-old PR we make sure the author first updates their branch? cc @natemoo-re |
Astro imports the
defineConfigfunction fromastro/config. Theintegrationskey needs to be passed into thedefineConfigfunction, but it is not shown in the README. Updated the README according to the CLI example.Changes
astro.config.mjsexample shown in the README is changedTesting
Docs