feat: 兼容旧目录

This commit is contained in:
ningmengchongshui 2024-06-13 21:36:34 +08:00
parent d4bf0cb718
commit 6885be4b10
6 changed files with 10 additions and 2 deletions

2
lib/plugins/index.ts Normal file
View File

@ -0,0 +1,2 @@
import { Messages, Events } from "yunzai/core"
export { Messages, Events }

2
lib/plugins/plugin.ts Normal file
View File

@ -0,0 +1,2 @@
import { Plugin } from "yunzai/core"
export default Plugin

View File

2
lib/renderer/loader.ts Normal file
View File

@ -0,0 +1,2 @@
import { renderer } from 'yunzai/utils'
export default renderer

2
lib/renderer/renderer.ts Normal file
View File

@ -0,0 +1,2 @@
import { Renderer } from 'yunzai/utils'
export default Renderer

View File

@ -1,2 +1,2 @@
import Puppeteer from '../../../src/utils/renderers/puppeteer.js'
export default Puppeteer
import { Renderers } from 'yunzai/utils'
export default Renderers