chore: vite.vue-ts.ts -> vite.react-ts.vue
This commit is contained in:
1 parent
01ceddaf00
commit
f0616e1867
3 files changed
+2
-2
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { join } from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import pkg from '../package.json'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
root: join(__dirname, '../src/react-ts'),
|
||||
plugins: [react()],
|
||||
base: './',
|
||||
build: {
|
||||
emptyOutDir: true,
|
||||
minify: false,
|
||||
outDir: join(__dirname, '../dist/react-ts'),
|
||||
},
|
||||
server: {
|
||||
host: pkg.env.HOST,
|
||||
port: pkg.env.PORT,
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user