From 0c357e90050d9d461c6ab0d85e1b9c2bac2f6f55 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 19 一月 2026 17:50:36 +0800
Subject: [PATCH] Merge branch 'dev_new' of http://114.132.189.42:9002/r/product-inventory-APP-before into dev_new
---
vite.config.js | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/vite.config.js b/vite.config.js
new file mode 100644
index 0000000..1d873bb
--- /dev/null
+++ b/vite.config.js
@@ -0,0 +1,28 @@
+import { defineConfig } from 'vite'
+import uni from '@dcloudio/vite-plugin-uni'
+
+export default defineConfig(() => {
+ return {
+ base: './',
+ build: {
+ minify: true,
+ outDir: 'dist',
+ },
+ server: {
+ port: '80'
+ },
+ plugins: [
+ uni()
+ ],
+ exclude: [
+ /\/README\.md$/,
+ ],
+ css: {
+ preprocessorOptions: {
+ scss: {
+ api: 'modern-compiler'
+ }
+ }
+ }
+ }
+})
\ No newline at end of file
--
Gitblit v1.9.3