Even though it is called "dynamic import", it still only accepts string literals as argument:
import("module") // will work
import(p) // will not work
import(`${p}`) // will not work