mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 13:21:59 +03:00
17 lines
382 B
TypeScript
17 lines
382 B
TypeScript
|
import { defineConfig } from 'vite';
|
||
|
import react from '@vitejs/plugin-react';
|
||
|
import mkcert from 'vite-plugin-mkcert'
|
||
|
import { resolve } from 'path'
|
||
|
import viteTsConfigPaths from 'vite-tsconfig-paths';
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [react(), viteTsConfigPaths({
|
||
|
root: './',
|
||
|
}), mkcert()],
|
||
|
build: {
|
||
|
target: 'esnext',
|
||
|
|
||
|
},
|
||
|
server: { https: true },
|
||
|
});
|