Leave dynamic import untouched.
Author: 3cpCreated Jun 8, 2022Updated Apr 19, 2026
This might be asked before, but I could not find anything.
Is there a way to ask ncc to ignore and leave my dynamic import untouched?
// To be resolved at runtime
const loaded = await import(calculated_path_of_user_file);Thanks!
Source: vercel/ncc