A specific example. There are 2 plug-in.
1. 1/assets/javascripts/discourse/initializers/1.js.es6
import { withPluginApi } from 'discourse/lib/plugin-api';
import RawHtml from 'discourse/widgets/raw-html';
function attachSignature(api) {
api.includePostAttributes('reply_to_post_number');
api.decorateWidget('post-contents:before', dec => {.....
2. 2/assets/javascripts/discourse/initializers/2.js.es6
import { withPluginApi } from 'discourse/lib/plugin-api';
function startVoting(api){....
As it is advisable to combine two or more plug-in to exclude the connection of the first rows…
import { withPluginApi } from 'discourse/lib/plugin-api';
import RawHtml from 'discourse/widgets/raw-html';
function 1(api) {...
function 2(api) {...
Will this affect performance?
I look at common approaches…
Just logically, you can make a dozen plugins or replace them all in one.