Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

脚本猫, 后台脚本不支持嘛? #128

Closed
Hunlongyu opened this issue Jan 31, 2024 · 1 comment
Closed

脚本猫, 后台脚本不支持嘛? #128

Hunlongyu opened this issue Jan 31, 2024 · 1 comment

Comments

@Hunlongyu
Copy link

https://docs.scriptcat.org/docs/dev/backgroud/

脚本猫独有的后台脚本,在 vite.config.js 里配置 crontab 和 background· 属性声明,在构建后,会丢失。

导致 无法正常运行。

希望能加上~ 感谢~🥹

@lisonge
Copy link
Owner

lisonge commented Jan 31, 2024

首先脚本猫的后台脚本不是合法语法的 js 模块,其次不支持动态加载模块,无法支持

image

@lisonge lisonge closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants