Skip to content

😎 极小版 makeccx ,仅压缩 src 文件夹,几乎相当于没有框架,基于 Python 3 实现。

Notifications You must be signed in to change notification settings

makeccx/makeccx-tiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makeccx-tiny

😎 极小版 makeccx ,仅压缩 src 文件夹,几乎相当于没有框架,基于 Python 3 实现。

✅ 开发环境占用小
✅ 打包速度快
✅ 支持 JSDoc 类型提示
❌ 不支持 require("clipcc-extension"),需用 self.ClipCCExtension 代替
❌ 不支持 多个 JS 文件
❌ 不支持 语言文件特殊写法
❌ 不支持 node_modules
❌ 不支持 TypeScript(可以用 JSDoc 代替)
❌ 不支持 ES Module 语法
❌ 不支持 语法检查
❌ 不支持 Minify(压缩 JS 文件)
❌ 不支持 makeccx.config.ts
❌ 不支持 makeccx.config.js

开始

  1. 确保已安装 Python 3
  2. 下载 zip: https://github.com/makeccx/makeccx-tiny/archive/refs/heads/main.zip
  3. 创建文件夹,例如 clipcc-extension-example
  4. 解压到文件夹里
  5. 使用 VSCode 打开文件夹
  6. 修改 src/info.jsonsrc/main.js
  7. 新建终端,运行命令 ./makeccx

升级到标准版

需确保已安装 Node.js

  1. 删除以下文件
clipcc-extension.d.ts
makeccx
makeccx.bat
  1. 新建 package.json 文件,然后粘贴以下内容,然后保存。
{
  "private": true,
  "scripts": {
    "build": "makeccx build"
  },
  "devDependencies": {
    "clipcc-extension": "^0.2.0",
    "makeccx": "^1.1.3"
  }
}
  1. 运行命令
npm i
npm run build

About

😎 极小版 makeccx ,仅压缩 src 文件夹,几乎相当于没有框架,基于 Python 3 实现。

Topics

Resources

Stars

Watchers

Forks