2 Star 31 Fork 14

故时旅人/BM导航

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
vite.config.ts 559 Bytes
Copy Edit Raw Blame History
故时旅人 authored 2023-08-31 16:09 +08:00 . 4.4.1
import react from '@vitejs/plugin-react'
import autoprefixer from 'autoprefixer'
import { resolve } from 'path'
import tailwindcss from 'tailwindcss'
import { defineConfig } from 'vite'
const pathResolve = dir => resolve(__dirname, '.', dir)
export default defineConfig({
base: './',
plugins: [react()],
resolve: {
alias: {
'@': pathResolve('./src/'),
'~img': pathResolve('./src/assets/img')
}
},
css: {
postcss: {
plugins: [
tailwindcss as any,
autoprefixer({
overrideBrowserslist: ['last 2 versions']
})
]
}
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/robin901118/homepage_navigation.git
git@gitee.com:robin901118/homepage_navigation.git
robin901118
homepage_navigation
BM导航
master

Search