The ExcelExportSample1Component has the following configuration:
configs.push(new Config({
component: 'ExcelExportSample1Component',
additionalFiles: ["/src/app/data/invoiceData.ts"],
appModuleConfig: new AppModuleConfig({
imports: ['IgxGridModule', 'IgxExcelExporterService', 'ExcelExportSample1Component', 'IgxButtonModule'],
ngDeclarations: ['ExcelExportSample1Component'],
ngImports: ['IgxGridModule', 'IgxButtonModule'],
ngProviders: ['IgxExcelExporterService']
}),
shortenComponentPathBy: "/export-excel/"
}));
The generated app has the data but the reference path is not the proper one, because in the sample itself the hierarchy is deeper and the path is import { INVOICE_DATA } from "../../../data/invoiceData"; .

The ExcelExportSample1Component has the following configuration:
The generated app has the data but the reference path is not the proper one, because in the sample itself the hierarchy is deeper and the path is
import { INVOICE_DATA } from "../../../data/invoiceData";.