• Plugin to mnify json files in the build folder after the bundling is done.

    Parameters

    • basePath: string | string[]

      base path/es starting inside the build dir (e.g. will always start with "/dist" if dist is the build dir)

    • Optionalrecursive: boolean

      if true, will crawl subdirectories

    Returns VitePlugin