# @open-xchange/vite-plugin-ox-bundle

> vite plugin to create a custom bundle file to reduce js requests for App Suite UI

Latest version **1.0.0** (published 2026-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @open-xchange/vite-plugin-ox-bundle
pnpm add @open-xchange/vite-plugin-ox-bundle
yarn add @open-xchange/vite-plugin-ox-bundle
bun add @open-xchange/vite-plugin-ox-bundle
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-03-16 |
| First published | 2022-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | App Suite Web Foundation <app-suite-web-foundation@open-xchange.com> |
| Maintainers | johnyb, davidbauer, solygen, daniel.rentz, alexquast, d.haus, maik.schaefer, andree, bjoern.koester, mbiggeleben |

## Links

- npm: https://www.npmjs.com/package/@open-xchange/vite-plugin-ox-bundle
- Repository: https://gitlab.com/openxchange/appsuite/web-foundation/app-suite-vite-plugins
- npm.io page: https://npm.io/package/@open-xchange/vite-plugin-ox-bundle

## Recent versions

- 1.0.0 (latest) — 2026-03-16
- 1.0.0-pre1 (pre) — 2026-03-13
- 0.1.5 — 2025-12-12
- 0.1.4 — 2024-12-17
- 0.1.3 — 2024-11-11
- 0.1.2 — 2024-08-19
- 0.1.1 — 2024-07-17
- 0.1.0 — 2024-06-18
- 0.0.9 — 2024-03-21
- 0.0.8 — 2023-12-05
- 0.0.7 — 2023-10-20
- 0.0.6 — 2023-10-17
- 0.0.5 — 2023-05-16
- 0.0.4 — 2022-12-07
- 0.0.3 — 2022-11-24
- … 2 more at https://npm.io/package/@open-xchange/vite-plugin-ox-bundle/versions

## README

# Vite Plugin OX Bundle

A vite plugin to create a custom bundle file to reduce js requests for App Suite UI

## Install

```sh
pnpm i "@open-xchange/vite-plugin-ox-bundle"
```

## How to use

```js
// in the vite.config.js
import vitePluginOxBundle from '@open-xchange/vite-plugin-ox-bundle'

return {
  plugins: [vitePluginOxBundle()]
}
```

You need to manual define a bundle file:

```js
// bundles.json
[
  {
    name: 'mybundle.js',
    files: [
      ....
    ]
  }
]
```

## Options

You can provide the following options to the plugin:

* src `<string>` Path to predefined bundles file. Default: `./bundles.json`
* htmlFiles `<string[]>` HTML files to be added to manifest. Default: `[]`
* ignore `<string[]>` Paths to be ignored. Default: `[]`

---
_Source: https://npm.io/package/@open-xchange/vite-plugin-ox-bundle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
