mirror of
https://github.com/2234839/web-font.git
synced 2025-04-06 05:25:44 +08:00
🐳chore(package.json): 配置编译脚本
This commit is contained in:
parent
fb37153cc9
commit
056ed20ac6
@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf lib dist .malagu",
|
"clean": "rimraf lib dist .malagu",
|
||||||
"build": "malagu build",
|
"build": "malagu build && yarn 前端build",
|
||||||
"start": "malagu serve",
|
"start": "malagu serve",
|
||||||
"前端dev": "yarn workspace frontend dev",
|
"前端dev": "yarn workspace frontend dev",
|
||||||
"前端build": "yarn workspace frontend build",
|
"前端build": "yarn workspace frontend build",
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from "vite";
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from "@vitejs/plugin-vue";
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
build:{
|
build: {
|
||||||
outDir:'../../.malagu/frontend/dist/'
|
outDir: "../../.malagu/frontend/dist/",
|
||||||
}
|
emptyOutDir: true,
|
||||||
})
|
},
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user