facilmap/client/vite.config.ts

20 wiersze
402 B
TypeScript
Czysty Zwykły widok Historia

2023-11-06 02:22:33 +00:00
import { defineConfig } from "vite";
import dtsPlugin from "vite-plugin-dts";
import autoExternalPlugin from "rollup-plugin-auto-external";
export default defineConfig({
plugins: [
2023-10-02 03:23:22 +00:00
dtsPlugin({ rollupTypes: true }),
autoExternalPlugin()
],
build: {
sourcemap: true,
minify: false,
lib: {
entry: './src/client.ts',
2023-10-02 03:23:22 +00:00
fileName: () => 'facilmap-client.mjs',
formats: ['es']
}
}
});