Skip to content

Commit

Permalink
docs: note about usage of config as js file (#6341)
Browse files Browse the repository at this point in the history
  • Loading branch information
onikienko authored Oct 20, 2021
1 parent de40db8 commit d2ae0d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ electron-builder [configuration](#configuration) can be defined
`json`, [json5](http://json5.org), [toml](https://github.com/toml-lang/toml) or `js` (exported configuration or function that produces configuration) formats also supported.

!!! tip
If you want to use `js` file, do not name it `electron-builder.js`. It will [conflict](https://github.com/electron-userland/electron-builder/issues/6227) with `electron-builder` package name.

!!! tip
If you want to use [toml](https://en.wikipedia.org/wiki/TOML), please install `yarn add toml --dev`.

Expand Down

0 comments on commit d2ae0d3

Please sign in to comment.