Rollup by default treats missing dependencies as "external" and will only output a warning to the console instead of an error (working as intended). We can make it throw an error for our use case. See: https://github.com/rollup/rollup/issues/1906#issuecomment-561055996