Skip to content

Commit

Permalink
[DOC] umd module default name is in camelCase not snake_case (#689)
Browse files Browse the repository at this point in the history
unless I am mistaken the default export name for the module is in camelCase not snake
  • Loading branch information
adrienpoly authored Jul 29, 2020
1 parent a50252d commit 5881387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Unless overridden via the command line, microbundle uses the `source` property i
}
```

For UMD builds, microbundle will use a snake_case version of the `name` field in your `package.json` as export name. This can be customized using an `"amdName"` key in your `package.json` or the `--name` command line argument.
For UMD builds, microbundle will use a camelCase version of the `name` field in your `package.json` as export name. This can be customized using an `"amdName"` key in your `package.json` or the `--name` command line argument.

### `microbundle watch`

Expand Down

0 comments on commit 5881387

Please sign in to comment.