• Create a vite config for your nextcloud app

    Parameters

    • entries: {
          [entryAlias: string]: string;
      }

      Entry points of your app

      • [entryAlias: string]: string
    • options: AppOptions = {}

      App related options for the vite config

    Returns UserConfigFn

    The vite config

    Example

    export default createAppConfig({
    main: path.resolve(path.join('src', 'main.js')),
    settings: path.resolve(path.join('src', 'settings.js')),
    })