Skip to content

Commit

Permalink
ci: update integration docs (#3105)
Browse files Browse the repository at this point in the history
Co-authored-by: delucis <delucis@users.noreply.github.com>
  • Loading branch information
astrobot-houston and delucis authored Apr 28, 2023
1 parent 9b9b3ac commit 8f23f15
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/content/docs/en/guides/integrations-guide/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,23 @@ For help, check out the `#support` channel on [Discord](https://astro.build/chat

You can also check our [Astro Integration Documentation][astro-integration] for more on integrations.

### Meaningful error messages

Currently, errors during running your application in Wrangler are not very useful, due to the minification of your code. For better debugging, you can add `vite.build.minify = false` setting to your `astro.config.js`

```js
export default defineConfig({
adapter: cloudflare(),
output: 'server',

vite: {
build: {
minify: false
}
}
});
```

## Contributing

This package is maintained by Astro's Core team. You're welcome to submit an issue or PR!
Expand Down

0 comments on commit 8f23f15

Please sign in to comment.