Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Deeptel ToolsNew to Visual Studio Code? Get it now.
Deeptel Tools

Deeptel Tools

muzaisimao

|
89 installs
| (2) | Free
VS Code 多粉前端工具集
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Deeptel Tools

VS Code插件 - 多粉前端工具集 (Beta版)


功能介绍

  1. 项目打包发布 (暂不支持小程序类型)
  2. 小程序分包更新 (开发中...)

项目打包发布-配置

  1. 在项目下创建 publish.config.js 文件 (tips: 以项目为单位, 不是 Git 仓库)

  2. 配置说明

    名称 值类型 说明
    name string 用于在插件中显示名称
    type "vue2" | "vue3" | "wechat" | "uni-app" 项目类型
    buildCmd string 项目的打包命令, 通常为 npm run build
    staticStoragePath string | null 静态资源仓库, 当项目与静态不在同一Git仓库时配置, 多人配合的项目, 建议填写相对路径
    branchs branch[] 分支列表, 根据环境配置, branch内容参考 👇
    branch { label: string, name: string, master?: boolean } label: 显示名称, name: 分支名称, master: 分支是否为正式环境(非必填)
  3. 配置参考

    module.exports = {
      name: 'test-project',
      type: 'vue2',
      buildCmd: 'pnpm build',
      staticStoragePath: null,
      branchs: [
        { label: '测试环境', name: 'develop' },
        { label: '堡垒环境', name: 'pre' },
        { label: '正式环境', name: 'prod', master: true },
      ],
    };
    
    

项目打包发布 - 使用

  1. 发布

    • 提交信息 : 同 Git Commit Message

    • 版本信息 : 正式分支 才需要填写, 不填默认线上版本自增 1

  2. 打包并发布

    • 根据配置文件打包当前选择的项目

    • 发布: 同上 👆

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft