master
yutent 2022-03-10 09:27:20 +08:00
parent d3c043a218
commit 5da2e35ca9
2 changed files with 5 additions and 2 deletions

View File

@ -67,6 +67,7 @@ function item(text, type, p) {
let options = {
isMiniApp: false, // 是否小程序
workspace: resolve('./'),
extendWorkspace: null // 额外的项目目录, 一般是 vue项目中的 src目录
}
@ -137,6 +138,8 @@ class AutoPath {
}
}
// console.log('currDirFixed: ', options, currDirFixed, list)
list = list
.filter(it => it !== doc.fileName)
.map(k => {

View File

@ -2,7 +2,7 @@
"name": "auto-path",
"displayName": "auto-path",
"description": "🔥 自动提示文件路径, 方便引入项目为的文件",
"version": "1.1.0",
"version": "1.1.1",
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
@ -28,7 +28,7 @@
],
"scripts": {
"start": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --platform=node",
"build": "npm start -- --minify"
"pack": "npm start -- --minify"
},
"license": "MIT",
"devDependencies": {