dynamic-import-static.ts:8:24 - error SC1090: dynamic import() with a specifier that cannot be bounded at build time (at dynamic-import-static.ts:7: a parameter of the exported function 'run') is not supported yet

  7 | export async function run(specifier: string): Promise<void> {
  8 |   const module = await import(specifier);
    |                        ^~~~~~~~~~~~~~~~~
  9 |   console.log(module);

  hint: pass a string literal, a const, or a parameter of a module-local function every call of which passes one

dynamic-import-static.ts:9:15 - error SC2004: uses of 'module' inherit the blocker on its declaration

   8 |   const module = await import(specifier);
   9 |   console.log(module);
     |               ^~~~~~
  10 | }

  hint: the declaration of 'module' did not compile — fix the diagnostic reported there and these sites clear with it