Feat: [Novel Updates]: Rating (#1169)

* novel-updates-rating: add rating to novels

* novel-updates-rating: update version

* novel-updates-rating: revert version

* novel-updates-rating: edit imports

* novel-updates-rating: update plugins version

* novel_updates_rating: revert version

* novel-updates: update test version

* novel-updates: update test version

* novel-updates: revert test version
This commit is contained in:
Batorian
2025-03-18 09:42:41 +01:00
committed by GitHub
parent b4f0863c6e
commit 447947faa5
4 changed files with 14 additions and 7 deletions
+1 -4
View File
@@ -27,10 +27,7 @@ const generator = function generator(source) {
});
const pluginScript = `
${madaraTemplate.replace(
'// CustomJS HERE',
source.options?.customJs || '',
)}
${madaraTemplate.replace('// CustomJS HERE', source.options?.customJs || '')}
const plugin = new MadaraPlugin(${JSON.stringify(source)});
export default plugin;
`.trim();