vite-plugin-assets-uploader
帮助您将Vite的打包资产上载到服务器
安装
yarn add vite-plugin-assets-uploader --dev
例子
import { defineConfig } from "vite" ;
import uploader from "vite-plugin-assets-uploader" ;
// https://vitejs.dev/config/
export default defineConfig ( {
plugins : [
uploader ( {
enableAlioss : true ,
ossOptions : {
bucket : "xxx" ,
accessKeyId : "xxxx" ,
acces
1