mirror of https://github.com/embarklabs/embark.git
4a122499e9
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 exports a function that can be asynchronous and has to return or resolve with an embark configuration object: ``` // embark.config.js module.exports = async function () { let config = ...; // do lazy calculation of `embarkConfig`; return config; } ``` |
||
---|---|---|
.. | ||
_data | ||
_posts | ||
assets/images | ||
chat | ||
community | ||
docs | ||
news | ||
plugins | ||
templates | ||
tutorials | ||
CNAME | ||
browserconfig.xml | ||
coverage-files.png | ||
coverage-report.png | ||
embark-logo.svg | ||
favicon.ico | ||
index.md | ||
robots.txt |