feat: migrate to new plugin api

Co-authored-by: Su-Yong <simssy2205@gmail.com>
This commit is contained in:
JellyBrick
2023-11-11 18:02:22 +09:00
parent 739e7a448b
commit 794d00ce9e
124 changed files with 3363 additions and 2720 deletions

View File

@ -2,8 +2,9 @@ import style from './style.css?inline';
import { createPluginBuilder } from '../utils/builder';
export const builder = createPluginBuilder('navigation', {
const builder = createPluginBuilder('navigation', {
name: 'Navigation',
restartNeeded: true,
config: {
enabled: false,
},

View File

@ -1,7 +1,7 @@
import forwardHTML from './templates/forward.html?raw';
import backHTML from './templates/back.html?raw';
import builder from '.';
import builder from './index';
import { ElementFromHtml } from '../utils/renderer';