Skip to content

Commit

Permalink
chore: add missing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
100gle committed Sep 27, 2023
1 parent 45a7b79 commit e810033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/en/guides/integrations-guide/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,14 @@ Whether or not to import `.wasm` files [directly as ES modules](https://github.c

Add `wasmModuleImports: true` to `astro.config.mjs` to enable in both the Cloudflare build and the Astro dev server.

```diff
```js ins={7}
// astro.config.mjs
import {defineConfig} from "astro/config";
import cloudflare from '@astrojs/cloudflare';

export default defineConfig({
adapter: cloudflare({
+ wasmModuleImports: true
wasmModuleImports: true
}),
output: 'server'
})
Expand Down

0 comments on commit e810033

Please sign in to comment.