mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
71c65efa20
* Add ignore dsstore node_modules * Rename to typescript rnr -r '(.*)\.js$' '$1.ts' ./src ./test rnr -rf '(.*)\.jsx$' '$1.tsx' ./src ./test * Remove package lock * Fix extension of tsx at context * init typescript * . * Compiles, moved to vite * lint new files * check dashboard * Add dist to ignore file
14 lines
293 B
TypeScript
14 lines
293 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react-swc';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tsconfigPaths()],
|
|
resolve: {
|
|
alias: {
|
|
src: '/src',
|
|
},
|
|
},
|
|
});
|