feat: Add customJs Option to ReadNovelFull multiSrc (#2132)

This commit is contained in:
K1ngfish3r
2026-04-22 08:28:17 +05:00
committed by GitHub
parent 068d71c357
commit ecf871ed0d
3 changed files with 49 additions and 34 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const generator = function generator(source) {
});
const pluginScript = `
${readNovelFullTemplate}
${readNovelFullTemplate.replace('// CustomJS HERE', source.options?.customJs || '')}
const plugin = new ReadNovelFullPlugin(${JSON.stringify(source)});
export default plugin;
`.trim();