1.0.4 • Published 8 days ago

@pixso/plugin-cli v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 days ago
安装
  npm install @pixso/plugin-cli -D

使用文档

Documentation

更新日志

v1.0.2
  • 新增 Host 脚本运行支持
// plugin.config.ts
import { defineConfig } from "@pixso/plugin-cli";

export default defineConfig({
  ui: "./ui/index.ts",
  main: "./main.ts",
  host: "./host.ts", // 指定 host 脚本热更调试路径
});
// manifest.json
{
  "id": "123456",
  "name": "pixso-plugin",
  "ui": "dist/ui.html",
  "main": {
    "sandbox": "dist/main.js",
    "host": "dist/host.js" // 指定 host 脚本构建路径
  }
}