blob: d3fa2ea2e9889f35d178545aee3c5c63659119a3 [file] [log] [blame]
// Run legacy Javascript entry point
import '../../../contentScripts/publicThreadStart';
import UiSpacingSharedStylesScript from '../../../features/uiSpacing/presentation/scripts/sharedStyles.script';
import UiSpacingTwBasicStylesScript from '../../../features/uiSpacing/presentation/scripts/twBasicStyles.script';
import ScriptRunner from '../../../infrastructure/presentation/scripts/ScriptRunner';
import ScriptSorterAdapter from '../../../infrastructure/presentation/scripts/ScriptSorter.adapter';
import { SortedScriptsProviderAdapter } from '../../../infrastructure/presentation/scripts/SortedScriptsProvider.adapter';
const scriptRunner = createScriptRunner();
scriptRunner.run();
function createScriptRunner() {
return new ScriptRunner(
new SortedScriptsProviderAdapter(
[
// Individual feature scripts
new UiSpacingSharedStylesScript(),
new UiSpacingTwBasicStylesScript(),
],
new ScriptSorterAdapter(),
).getScripts(),
);
}