The `v0.17.x` versions of `esbuild` contain breaking changes that
require modifications to your configuration file,
`esbuild.config.mjs`.
Without these changes, running `npm run build` or `npm run dev`
produces an output like this:
```
✘ [ERROR] Invalid option in build() call: "watch"
```
This updates the config file to match the new requirements,
preserving all existing functionality, including our "build" and
"dev" modes in `package.json`'s `scripts`.
Fixes https://github.com/obsidianmd/obsidian-sample-plugin/issues/45.