steal
Version:
Gets JavaScript.
29 lines (20 loc) • 745 B
Markdown
object.
point to metadata values.
## Use
Meta configuration is used to provide additional information about a module. It is most often used as a type of *shim* configuration for globals. [load.metadata This page] specifies the types of metadata that can be added.
For a global most likely you will want configuration that looks like:
```
"steal": {
"meta": {
"jquerty": {
"format": "global",
"exports": "jQuerty"
}
}
}
```
This specifies that the module **jquerty** uses the global format and exports the value of `window.jQuerty`.
Specify properties on the [load.metadata metadata]