init commit,
This commit is contained in:
21
03_source/mobile.integrated.not_working.del/vite.config.ts
Normal file
21
03_source/mobile.integrated.not_working.del/vite.config.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 3000
|
||||
},
|
||||
define: {
|
||||
'process.env': process.env,
|
||||
__HMR_CONFIG_NAME__: JSON.stringify('vite')
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern',
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user