This introduces a minimal set of changes to begin using rollup to bundle `pyodide.js`. Once this is merged, I will introduce more PRs to gradually split `pyodide.js` into several files as in #1559.
Use rollup. This introduces a minimal set of changes to begin using rollup to bundle `pyodide.js`. Once this is merged, I will introduce more PRs to gradually split `pyodide.js` into several files as in #1559.
# Javascript API
Backward compatibility of the API is not guaranteed at this point.

## Globals
```{eval-rst}
.. js-doc-summary:: globalThis
.. js-doc-content:: globalThis
```

(js-api-pyodide)=
## pyodide
```{eval-rst}
.. js-doc-summary:: pyodide
.. js-doc-content:: pyodide
```

(js-api-pyproxy)=
## PyProxy
A PyProxy is an object that allows idiomatic use of a Python object from Javascript. See {ref}`type-translations-pyproxy`.
```{eval-rst}
.. js-doc-summary:: PyProxy
.. js-doc-content:: PyProxy
```

# Javascript API
Backward compatibility of the API is not guaranteed at this point.

## Globals
```{eval-rst}
.. js-doc-summary:: globalThis
.. js-doc-content:: globalThis
```

(js-api-pyodide)=
## pyodide
```{eval-rst}
.. js-doc-summary:: pyodide
.. js-doc-content:: pyodide
```

(js-api-pyproxy)=
## PyProxy
A PyProxy is an object that allows idiomatic use of a Python object from Javascript. See {ref}`type-translations-pyproxy`.
```{eval-rst}
.. js-doc-summary:: PyProxy
.. js-doc-content:: PyProxy
```
