mirror of https://github.com/embarklabs/embark.git
e0f7913a02
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; } ``` |
||
---|---|---|
.. | ||
bamboo.md | ||
blockchain_accounts_configuration.md | ||
blockchain_configuration.md | ||
cockpit_dashboard.md | ||
cockpit_debugger.md | ||
cockpit_deployment.md | ||
cockpit_editor.md | ||
cockpit_explorer.md | ||
cockpit_introduction.md | ||
cockpit_utils.md | ||
configuration.md | ||
console_commands.md | ||
contracts_configuration.md | ||
contracts_deployment.md | ||
contracts_imports.md | ||
contracts_javascript.md | ||
contracts_testing.md | ||
contributing.md | ||
create_project.md | ||
creating_plugins.md | ||
dashboard.md | ||
embark_commands.md | ||
environments.md | ||
executing_scripts.md | ||
faq.md | ||
index.md | ||
installation.md | ||
installing_embarkjs.md | ||
installing_plugins.md | ||
javascript_usage.md | ||
messages_configuration.md | ||
messages_javascript.md | ||
migrating_from_3.x.md | ||
naming_configuration.md | ||
naming_javascript.md | ||
overview.md | ||
pipeline_and_webpack.md | ||
plugin_reference.md | ||
quick_start.md | ||
running_apps.md | ||
sending_and_receiving_messages.md | ||
smart_contract_objects.md | ||
solidity.md | ||
storage_configuration.md | ||
storage_deployment.md | ||
storage_javascript.md | ||
structure.md | ||
troubleshooting.md | ||
using_storages.md | ||
using_the_console.md | ||
vyper.md | ||
web3js.md | ||
webpack.md | ||
what_dapp.md | ||
working_with_name_systems.md |