mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
24 lines
464 B
TypeScript
24 lines
464 B
TypeScript
/* eslint import/no-extraneous-dependencies: 0 */
|
|
import { defineConfig } from 'vite';
|
|
import solidPlugin from 'vite-plugin-solid';
|
|
import solidSvg from 'vite-plugin-solid-svg';
|
|
|
|
export default defineConfig({
|
|
plugins: [solidPlugin(), solidSvg()],
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
optimizeDeps: {
|
|
extensions: ['jsx'],
|
|
},
|
|
build: {
|
|
target: 'esnext',
|
|
sourcemap: true,
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@/': `${__dirname}/src/`,
|
|
},
|
|
},
|
|
});
|