From aada3d785bc9993f60ba82be0062a812b0c982b4 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Thu, 12 Jun 2025 10:16:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(ProjectAttachment):=20=E4=BF=AE=E6=94=B9dro?= =?UTF-8?q?ne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 +- vite.config.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4cdf617..1d54771 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ steps: - name: build-package - image: node:18 + image: node:16.20.0 volumes: - name: cache path: /drone/src/node_modules diff --git a/vite.config.js b/vite.config.js index fdaeef8..9048867 100644 --- a/vite.config.js +++ b/vite.config.js @@ -11,10 +11,13 @@ import Inspect from 'vite-plugin-inspect' import viteSvgIcons from 'vite-plugin-svg-icons' import {detect} from 'package-manager-detector/dist/detect.mjs' import path from 'path' + // https://vitejs.dev/config/ export default defineConfig({ plugins: [ - vue(),detect, + + vue(), + detect, vueJsx(), AutoImport({ //自动导入vue相关函数