blob: 03d5eba5769e491a5fa8addd3f716ffe6c4ad0ff [file] [log] [blame]
import {
ScriptEnvironment,
ScriptPage,
ScriptRunPhase,
} from '../../../common/architecture/scripts/Script';
import Features from '../../../features/Features';
import ScriptRunner from '../../../common/architecture/scripts/ScriptRunner';
// Run legacy Javascript entry point
import '../../../contentScripts/communityConsole/main';
const features = new Features();
const scripts = features.getScripts({
page: ScriptPage.CommunityConsole,
environment: ScriptEnvironment.ContentScript,
runPhase: ScriptRunPhase.Main,
});
const scriptRunner = new ScriptRunner();
scriptRunner.add(...scripts);
scriptRunner.run();