Skip to content

Commit fd3fbfe

Browse files
committed
update readme to reflect new defineConfig fn
1 parent 95e727d commit fd3fbfe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/launchpad/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ Run `npx launchpad --help` to see all available commands.
4646
Each [launchpad package](#packages) is configured via its own section in `launchpad.config.js`. Below is a simple example that uses the [`content`](/packages/content) package to download JSON and images from Flickr and [`monitor`](/packages/monitor) to launch a single app:
4747

4848
```js
49-
export default {
49+
import { defineConfig } from "@bluecadet/launchpad";
50+
51+
export default defineConfig({
5052
"content": {
5153
"sources": [
5254
{
@@ -69,7 +71,7 @@ export default {
6971
}
7072
]
7173
}
72-
}
74+
});
7375
```
7476

7577
*Note: [Scaffold](/packages/scaffold) is configured separately in a PowerShell file. This is a guided process when you run `npx launchpad scaffold`.*

0 commit comments

Comments
 (0)