Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/workers/wrangler/custom-builds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ import { WranglerConfig } from "~/components";
<WranglerConfig>

```toml title="wrangler.toml"
name = "gwg-main"
type = "javascript"
node_compat = true
Comment on lines +46 to +47
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type and node_compat are deprecated fields—could those be removed?

[build]
command = "npm run build"
cwd = "build_cwd"
watch_dir = "build_watch_dir"

```

</WranglerConfig>
Loading