mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11707 from ethereum/docs-clarify-optional-remapping-components
[Docs] Clarify optional parts in remappings
This commit is contained in:
commit
e9cab0ffc6
@ -464,7 +464,8 @@ Here are the detailed rules governing the behaviour of remappings:
|
||||
|
||||
#. **Prefix cannot be empty but context and target are optional.**
|
||||
|
||||
If ``target`` is omitted, it defaults to the value of the ``prefix``.
|
||||
- If ``target`` is the empty string, ``prefix`` is simply removed from import paths.
|
||||
- Empty ``context`` means that the remapping applies to all imports in all source units.
|
||||
|
||||
.. index:: Remix IDE, file://
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user