removed deprecated builtinsMap configuration (#77)

Co-authored-by: rafapaezbas <rafa@holepunch.com>
This commit is contained in:
rafapaezbas
2024-02-27 12:21:33 +01:00
committed by GitHub
parent d094e20018
commit bd1c1e6b25

View File

@@ -24,29 +24,6 @@ Pear versioning is automatic. The `package.json` file does **not** require a ver
The name of the application. Overrides `package.json` `name`. The name of the application. Overrides `package.json` `name`.
### `pear.builtinsMap <Object>` <small>Terminal Applications Only</small>
Terminal Applications run on the [`bare`](https://github.com/holepunchto/bare) JavaScript runtime,
which has a very small core so code with expects say, an `fs` module will throw MODULE_NOT_FOUND
unless that namespace is mapped to an installed module.
Provide an object that maps builtin dependency namespaces to installed modules.
An example `package.json`:
```json
{
"name": "example",
"pear": {
"builtinsMap": {
"fs": "bare-fs"
}
}
}
```
> In future this option may also apply to Desktop Applications.
### `pear.gui <Object>` ### `pear.gui <Object>`
Graphical User Interface configuration options. Graphical User Interface configuration options.