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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user