-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for
embark.config.js
This commit introduces support for using `embark.config.js` to calculate the embark configuration object that is otherwise provided via `embark.json`. If an `embark.config.js` file is present, it will be used over the `embark.json` file. The `embark.config.js` module needs to export either an object or a function that can be asynchronous and has to return or resolve with an embark configuration object: ```js // embark.config.js module.exports = async function () { let config = ...; // do lazy calculation of `embarkConfig`; return config; } ```
- Loading branch information
1 parent
b19a58b
commit e0f7913
Showing
13 changed files
with
281 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.