Adrià Vilanova Martínez | 104f8ef | 2024-05-04 17:22:11 +0200 | [diff] [blame] | 1 | import EntrypointScriptRunner from '../../../common/architecture/entrypoint/EntrypointScriptRunner'; |
Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 2 | import { |
| 3 | ScriptEnvironment, |
| 4 | ScriptPage, |
| 5 | ScriptRunPhase, |
| 6 | } from '../../../common/architecture/scripts/Script'; |
Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 7 | |
| 8 | // Run legacy Javascript entry point |
| 9 | import '../../../contentScripts/communityConsole/start'; |
| 10 | |
Adrià Vilanova Martínez | 104f8ef | 2024-05-04 17:22:11 +0200 | [diff] [blame] | 11 | const runner = new EntrypointScriptRunner({ |
Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 12 | page: ScriptPage.CommunityConsole, |
| 13 | environment: ScriptEnvironment.ContentScript, |
| 14 | runPhase: ScriptRunPhase.Start, |
| 15 | }); |
Adrià Vilanova Martínez | 104f8ef | 2024-05-04 17:22:11 +0200 | [diff] [blame] | 16 | runner.run(); |