UNPKG

@jingoz/file-slicer

Version:

@jingoz/file-slicer 是一个 npm 包,提供了文件根据自定义大小分片并计算 hash 的功能。

13 lines (11 loc) 227 B
import type { UserConfig } from 'vite' export default { build: { outDir: 'build', lib: { name: 'fileSlicer', entry: 'lib/index.ts', fileName: 'index', }, }, } satisfies UserConfig