0.1.2 • Published 11 months ago

@open-xchange/vite-plugin-ox-bundle v0.1.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
11 months ago

Vite Plugin OX Bundle

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

Install

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

How to use

// 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:

// 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
  • ignore <string[]> Paths to be ignored. Default: []
0.1.0

1 year ago

0.1.2

11 months ago

0.1.1

12 months ago

0.0.9

1 year ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago