16 lines
329 B
TypeScript
16 lines
329 B
TypeScript
|
|
import { defineConfig } from "vite-plus";
|
||
|
|
import vueJsx from "@vitejs/plugin-vue-jsx";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [vueJsx()],
|
||
|
|
pack: {
|
||
|
|
entry: ["src/index.ts", "src/internal.ts"],
|
||
|
|
dts: { tsgo: true },
|
||
|
|
exports: true,
|
||
|
|
},
|
||
|
|
lint: {
|
||
|
|
options: { typeAware: true, typeCheck: true },
|
||
|
|
},
|
||
|
|
fmt: {},
|
||
|
|
});
|