Skip to content

Commit

Permalink
Document --moduleFormat option for create-single-spa (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning authored Jan 25, 2025
1 parent 8cde0ab commit 5d5c0b6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions versioned_docs/version-6.x/create-single-spa.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ create-single-spa --moduleType app-parcel
create-single-spa --moduleType util-module
```

### --moduleFormat

You can specify which javascript module format the microfrontend's output bundle is compiled to via the `--moduleFormat` CLI argument:

```sh
create-single-spa --moduleFormat esm
create-single-spa --moduleFormat systemjs
```

### --framework

You can specify which framework you're using with the `--framework` CLI argument. Note that if you specify a framework that you may omit the `--moduleType`, as it is inferred to be `app-parcel`.
Expand Down

0 comments on commit 5d5c0b6

Please sign in to comment.