Skip to content

Commit

Permalink
removed deprecated builtinsMap configuration (#77)
Browse files Browse the repository at this point in the history
Co-authored-by: rafapaezbas <[email protected]>
  • Loading branch information
rafapaezbas and rafapaezbas authored Feb 27, 2024
1 parent d094e20 commit bd1c1e6
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

### `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>`

Graphical User Interface configuration options.
Expand Down

0 comments on commit bd1c1e6

Please sign in to comment.