Files
hoppscotch/packages/hoppscotch-data/vite.config.ts
Andrew Bastin 8b300fab5d feat: migrate to vue 3 + vite (#2553)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-09-29 10:55:21 +05:30

18 lines
338 B
TypeScript

import { tuple } from "io-ts"
import { resolve } from "path"
import { defineConfig } from "vite"
export default defineConfig({
build: {
outDir: "./dist",
emptyOutDir: true,
lib: {
entry: resolve(__dirname, "src/index.ts"),
fileName: "hoppscotch-data",
formats: [
"es", "cjs"
],
}
}
})