Longbow + Pact of the Blade + Improved Pact We…

Longbow + Pact of the Blade + Improved Pact Weapon would that allow Eldritch Smite during Eldritch Blast?

@JeremyECrawford With the Pact of the Blade + Improved Pact Weapon, I can conjure a Longbow and use that for Eldritch Blast.