fix(ProjectAttachment): 修改drone
This commit is contained in:
@@ -8,7 +8,7 @@ steps:
|
|||||||
|
|
||||||
|
|
||||||
- name: build-package
|
- name: build-package
|
||||||
image: node:18
|
image: node:16.20.0
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /drone/src/node_modules
|
path: /drone/src/node_modules
|
||||||
|
|||||||
@@ -11,10 +11,13 @@ import Inspect from 'vite-plugin-inspect'
|
|||||||
import viteSvgIcons from 'vite-plugin-svg-icons'
|
import viteSvgIcons from 'vite-plugin-svg-icons'
|
||||||
import {detect} from 'package-manager-detector/dist/detect.mjs'
|
import {detect} from 'package-manager-detector/dist/detect.mjs'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),detect,
|
|
||||||
|
vue(),
|
||||||
|
detect,
|
||||||
vueJsx(),
|
vueJsx(),
|
||||||
AutoImport({
|
AutoImport({
|
||||||
//自动导入vue相关函数
|
//自动导入vue相关函数
|
||||||
|
|||||||
Reference in New Issue
Block a user