Getting build error in my engine plugin while building in UE4 editor while packaging the project

Above mentioned build errors are resolved by adding below headers in my plugin header file. My plugin is extending UUserWidget, so below headers are required.
#include “Runtime/UMG/Public/UMG.h”
#include “Runtime/UMG/Public/UMGStyle.h”
#include “Runtime/UMG/Public/Slate/SObjectWidget.h”
#include “Runtime/UMG/Public/IUMGModule.h”
#include “Runtime/UMG/Public/Blueprint/UserWidget.h”