feat: migrate to vue 3 + vite (#2553)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com> Co-authored-by: liyasthomas <liyascthomas@gmail.com>
This commit is contained in:
17
packages/hoppscotch-data/vite.config.ts
Normal file
17
packages/hoppscotch-data/vite.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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"
|
||||
],
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user