mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-07-07 17:45:01 +00:00
25 lines
536 B
TypeScript
25 lines
536 B
TypeScript
import { defineConfig } from 'vite';
|
|
import topLevelAwait from 'vite-plugin-top-level-await';
|
|
import dtsPlugin from 'vite-plugin-dts';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
build: {
|
|
lib: {
|
|
entry: './src/main.ts',
|
|
name: 'IronRemoteDesktopRdp',
|
|
formats: ['es'],
|
|
},
|
|
},
|
|
server: {
|
|
fs: {
|
|
strict: false,
|
|
},
|
|
},
|
|
plugins: [
|
|
topLevelAwait(),
|
|
dtsPlugin({
|
|
rollupTypes: true,
|
|
}),
|
|
],
|
|
});
|