Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modules being in wrong chunks #17103

Closed
wants to merge 1 commit into from

Conversation

bmarti44
Copy link

@bmarti44 bmarti44 commented Apr 29, 2023

When building my project outlined in #17059 certain modules are being removed or added to the incorrect chunk (I am not 100% sure as of yet). Thees changes resolves the issue.

Summary

🤖 Generated by Copilot at d603153

Refactor and fix module concatenation plugin. Enhance the readability and correctness of the code in lib/optimize/ModuleConcatenationPlugin.js. Resolve a naming issue that could cause incorrect concatenation. Improve the error messages for unsupported or conflicting modules.

Details

🤖 Generated by Copilot at d603153

  • Simplify filtering of incoming connections by using getIncomingConnections method and sorting modules by identifier (link)
  • Improve error message for unsupported syntax by including explanations, filtering connections directly, and using sets and sorting for readability (link)
  • Fix bug of using wrong variable name in loop in lib/optimize/ModuleConcatenationPlugin.js (link)

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Apr 29, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: bmarti44 / name: Brian Martin (76029ad)

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

@alexander-akait
Copy link
Member

Seems, like we have more changes than should, and some of changes are not looks good, need do more deep investigation...

@bmarti44
Copy link
Author

Yup it's a bit of a mess... Will clean up

@bmarti44
Copy link
Author

okay i found the exact line causing the issue for me - i'm a bit unfamiliar with the code but i'm reading through it now

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it is intresing, because you should not have orphan modules in chunks, can you debug locally and check what is module and it is

@alexander-akait
Copy link
Member

And can you provide list of plugins (maybe some of them do not allow webpack to drop them)?

@bmarti44
Copy link
Author

logged out everything for this condition ->

if (chunkGraph.getNumberOfModuleChunks(originModule) === 0) {
    console.log(originModule._source._name);
};

at first glance, it appears that everything from the shared libraries i have in my node_modules folder is being printed out (here is a snippet) ->

webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuMasonryLayout/GbuMasonryLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuPopup/GbuPopup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuPillarTheme/GbuPillarTheme.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuAppBar/childContent/NavigationMenu.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartGroup/GbuChartGroup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChart/GbuChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartItem/GbuChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartSeries/GbuChartSeries.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuLegend/GbuLegend.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuPictoChart/GbuPictoChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuDiagram/GbuDiagram.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuDiagramChildContent/GbuDiagramChildContent.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuPictoChartItem/GbuPictoChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuSunburst/GbuSunburst.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuStatusMeterGauge/GbuStatusMeterGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuTimeAxis/GbuTimeAxis.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuSparkChart/GbuSparkChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuTimeline/GbuTimeline.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracle/GbuAskOracle.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleNavigationList/GbuAskOracleNavigationList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuDashboardPanel/GbuDashboardPanel.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleSearch/GbuAskOracleSearch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleNotifications/GbuAskOracleNotifications.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuDashboardGrid/GbuDashboardGrid.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleUserProfile/GbuAskOracleUserProfile.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuItemOverview/GbuItemOverview.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuInAppNavigation/GbuInAppNavigation.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuDashboardLandingPage/GbuDashboardLandingPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuItemOverviewPage/GbuItemOverviewPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuSimpleCreateEditPage/GbuSimpleCreateEditPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuDataManagementPage/GbuDataManagementPage.js
webpack://javascript/esm|./node_modules/@hgbu/ode-pages/dist/esm/ODETriPanelPage/ODETriPanelPage.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuLink/GbuLink.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/ResultDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/AggregationFilterDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/SuggestionDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/SuggestionFiltersDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/hooks/useSearchParamTransformer/SearchParamURLTransformer.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/data-access/SearchFilterProvider/SearchFilterProvider.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/ODELabel.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/smart-filters/ODESmartFilters.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputDate.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputDateTime.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputText.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputNumber.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/optionset/ODERadioset.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/optionset/ODECheckboxset.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/select/ODESelectSingle.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODECollapsible.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEAccordion.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEDrawerLayout.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEDialog.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEDrawerPopup.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEPopup.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODETabBar.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/templates/ODECustomHeader.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/templates/ODEDrawerContentTemplate.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODEListItemLayout.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODEDataGrid.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODEListView.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODETable.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEConveyorBelt.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEMessageBanner.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEToolbar.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEProgressIndicator.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/controls/GbuMenuButton/GbuMenuButton.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuLabelValue/GbuLabelValue.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuLabel/GbuLabel.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuSwitch/GbuSwitch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuGanttRow/GbuGanttRow.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/visualizations/GbuLegendItem/GbuLegendItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/visualizations/GbuTimelineItem/GbuTimelineItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/visualizations/GbuDiagramLink/GbuDiagramLink.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuButtonsetMany/GbuButtonsetMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuButtonsetOne/GbuButtonsetOne.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuFilmStrip/GbuFilmStrip.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuFilePicker/GbuFilePicker.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuConveyorBelt/GbuConveyorBelt.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuProgressBar/GbuProgressBar.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuMenuSelectMany/GbuMenuSelectMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuProgressCircle/GbuProgressCircle.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuMessagesToast/GbuMessagesToast.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/collections/GbuTreemapNode/GbuTreemapNode.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuProgressList/GbuProgressList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuComboboxMany/GbuComboboxMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuTagCloudItem/GbuTagCloudItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuComboboxOne/GbuComboboxOne.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuDatePicker/GbuDatePicker.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuGanttDependency/GbuGanttDependency.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuDateTimePicker/GbuDateTimePicker.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuGanttReferenceObject/GbuGanttReferenceObject.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuGanttTask/GbuGanttTask.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputDateTime/GbuInputDateTime.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputPassword/GbuInputPassword.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputSearch/GbuInputSearch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuRangeSlider/GbuRangeSlider.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuRadioset/GbuRadioset.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputTime/GbuInputTime.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuOptionGroup/GbuOptionGroup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuSelectMany/GbuSelectMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuRatingGauge/GbuRatingGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuSelectOne/GbuSelectOne.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuSlider/GbuSlider.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/layouts/GbuDrawerLayout/GbuDrawerLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/layouts/GbuDrawerPopup/GbuDrawerPopup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/layouts/GbuDialog/GbuDialog.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuLedGauge/GbuLedGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuLegendSection/GbuLegendSection.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuDiagramNode/GbuDiagramNode.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuSparkChartItem/GbuSparkChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuTimelineSeries/GbuTimelineSeries.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuSunburstNode/GbuSunburstNode.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuListItemLayout/GbuListItemLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuIndexer/GbuIndexer.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuDataGrid/GbuDataGrid.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuRowExpander/GbuRowExpander.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuListView/GbuListView.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuStreamList/GbuStreamList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuSelector/GbuSelector.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuPagingControl/GbuPagingControl.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuWaterfallLayout/GbuWaterfallLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuSwipeActions/GbuSwipeActions.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuTreemap/GbuTreemap.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuTreeView/GbuTreeView.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMenu/GbuMenu.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMessage/GbuMessage.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuProgress/GbuProgress.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMessageBanner/GbuMessageBanner.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMessages/GbuMessages.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuTagCloud/GbuTagCloud.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuTrain/GbuTrain.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/forms/GbuColorPalette/GbuColorPalette.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/forms/GbuColorSpectrum/GbuColorSpectrum.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/forms/GbuGantt/GbuGantt.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuActionCard/GbuActionCard.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuCollectionContainer/GbuCollectionContainer.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuCollapsible/GbuCollapsible.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuEmptyState/GbuEmptyState.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuAccordion/GbuAccordion.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuNavigationList/GbuNavigationList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuMasonryLayout/GbuMasonryLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuPopup/GbuPopup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuPillarTheme/GbuPillarTheme.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuAppBar/childContent/NavigationMenu.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartGroup/GbuChartGroup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChart/GbuChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartItem/GbuChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartSeries/GbuChartSeries.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuLegend/GbuLegend.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuPictoChart/GbuPictoChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuDiagram/GbuDiagram.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuDiagramChildContent/GbuDiagramChildContent.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuPictoChartItem/GbuPictoChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuSunburst/GbuSunburst.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuStatusMeterGauge/GbuStatusMeterGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuTimeAxis/GbuTimeAxis.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuSparkChart/GbuSparkChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuTimeline/GbuTimeline.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracle/GbuAskOracle.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleNavigationList/GbuAskOracleNavigationList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuDashboardPanel/GbuDashboardPanel.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleSearch/GbuAskOracleSearch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleNotifications/GbuAskOracleNotifications.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuDashboardGrid/GbuDashboardGrid.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleUserProfile/GbuAskOracleUserProfile.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuItemOverview/GbuItemOverview.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuInAppNavigation/GbuInAppNavigation.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuDashboardLandingPage/GbuDashboardLandingPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuItemOverviewPage/GbuItemOverviewPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuSimpleCreateEditPage/GbuSimpleCreateEditPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuDataManagementPage/GbuDataManagementPage.js
webpack://javascript/esm|./node_modules/@hgbu/ode-pages/dist/esm/ODETriPanelPage/ODETriPanelPage.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuLink/GbuLink.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/ResultDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/AggregationFilterDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/SuggestionDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/providers/SuggestionFiltersDataProvider.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/hooks/useSearchParamTransformer/SearchParamURLTransformer.js
webpack://./node_modules/@gbu/rapid-providers/dist/esm/data-access/SearchFilterProvider/SearchFilterProvider.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/ODELabel.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/smart-filters/ODESmartFilters.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputDate.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputDateTime.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputText.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/input/ODEInputNumber.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/optionset/ODERadioset.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/optionset/ODECheckboxset.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/forms/select/ODESelectSingle.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODECollapsible.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEAccordion.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEDrawerLayout.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEDialog.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEDrawerPopup.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODEPopup.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/layouts/ODETabBar.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/templates/ODECustomHeader.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/templates/ODEDrawerContentTemplate.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODEListItemLayout.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODEDataGrid.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODEListView.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/collections/ODETable.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEConveyorBelt.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEMessageBanner.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEToolbar.js
webpack://javascript/esm|./node_modules/@hgbu/ode-components/dist/esm/controls/ODEProgressIndicator.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/controls/GbuMenuButton/GbuMenuButton.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuLabelValue/GbuLabelValue.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuLabel/GbuLabel.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuSwitch/GbuSwitch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/forms/GbuGanttRow/GbuGanttRow.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/visualizations/GbuLegendItem/GbuLegendItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/visualizations/GbuTimelineItem/GbuTimelineItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/atoms/visualizations/GbuDiagramLink/GbuDiagramLink.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuButtonsetMany/GbuButtonsetMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuButtonsetOne/GbuButtonsetOne.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuFilmStrip/GbuFilmStrip.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuFilePicker/GbuFilePicker.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuConveyorBelt/GbuConveyorBelt.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuProgressBar/GbuProgressBar.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuMenuSelectMany/GbuMenuSelectMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuProgressCircle/GbuProgressCircle.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuMessagesToast/GbuMessagesToast.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/collections/GbuTreemapNode/GbuTreemapNode.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuProgressList/GbuProgressList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuComboboxMany/GbuComboboxMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/controls/GbuTagCloudItem/GbuTagCloudItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuComboboxOne/GbuComboboxOne.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuDatePicker/GbuDatePicker.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuGanttDependency/GbuGanttDependency.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuDateTimePicker/GbuDateTimePicker.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuGanttReferenceObject/GbuGanttReferenceObject.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuGanttTask/GbuGanttTask.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputDateTime/GbuInputDateTime.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputPassword/GbuInputPassword.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputSearch/GbuInputSearch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuRangeSlider/GbuRangeSlider.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuRadioset/GbuRadioset.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuInputTime/GbuInputTime.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuOptionGroup/GbuOptionGroup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuSelectMany/GbuSelectMany.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuRatingGauge/GbuRatingGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuSelectOne/GbuSelectOne.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/forms/GbuSlider/GbuSlider.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/layouts/GbuDrawerLayout/GbuDrawerLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/layouts/GbuDrawerPopup/GbuDrawerPopup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/layouts/GbuDialog/GbuDialog.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuLedGauge/GbuLedGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuLegendSection/GbuLegendSection.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuDiagramNode/GbuDiagramNode.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuSparkChartItem/GbuSparkChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuTimelineSeries/GbuTimelineSeries.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/molecules/visualizations/GbuSunburstNode/GbuSunburstNode.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuListItemLayout/GbuListItemLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuIndexer/GbuIndexer.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuDataGrid/GbuDataGrid.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuRowExpander/GbuRowExpander.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuListView/GbuListView.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuStreamList/GbuStreamList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuSelector/GbuSelector.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuPagingControl/GbuPagingControl.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuWaterfallLayout/GbuWaterfallLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuSwipeActions/GbuSwipeActions.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuTreemap/GbuTreemap.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/collections/GbuTreeView/GbuTreeView.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMenu/GbuMenu.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMessage/GbuMessage.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuProgress/GbuProgress.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMessageBanner/GbuMessageBanner.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuMessages/GbuMessages.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuTagCloud/GbuTagCloud.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuTrain/GbuTrain.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/forms/GbuColorPalette/GbuColorPalette.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/forms/GbuColorSpectrum/GbuColorSpectrum.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/forms/GbuGantt/GbuGantt.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuActionCard/GbuActionCard.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuCollectionContainer/GbuCollectionContainer.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuCollapsible/GbuCollapsible.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuEmptyState/GbuEmptyState.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuAccordion/GbuAccordion.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuNavigationList/GbuNavigationList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuMasonryLayout/GbuMasonryLayout.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuPopup/GbuPopup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/layouts/GbuPillarTheme/GbuPillarTheme.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/controls/GbuAppBar/childContent/NavigationMenu.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartGroup/GbuChartGroup.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChart/GbuChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartItem/GbuChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuChartSeries/GbuChartSeries.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuLegend/GbuLegend.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuPictoChart/GbuPictoChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuDiagram/GbuDiagram.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuDiagramChildContent/GbuDiagramChildContent.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuPictoChartItem/GbuPictoChartItem.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuSunburst/GbuSunburst.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuStatusMeterGauge/GbuStatusMeterGauge.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuTimeAxis/GbuTimeAxis.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuSparkChart/GbuSparkChart.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/organisms/visualizations/GbuTimeline/GbuTimeline.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracle/GbuAskOracle.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleNavigationList/GbuAskOracleNavigationList.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuDashboardPanel/GbuDashboardPanel.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleSearch/GbuAskOracleSearch.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleNotifications/GbuAskOracleNotifications.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuDashboardGrid/GbuDashboardGrid.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuAskOracleUserProfile/GbuAskOracleUserProfile.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuItemOverview/GbuItemOverview.js
webpack://./node_modules/@gbu/rapid-components/dist/esm/templates/GbuInAppNavigation/GbuInAppNavigation.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuDashboardLandingPage/GbuDashboardLandingPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuItemOverviewPage/GbuItemOverviewPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuSimpleCreateEditPage/GbuSimpleCreateEditPage.js
webpack://./node_modules/@gbu/rapid-pages/dist/esm/GbuDataManagementPage/GbuDataManagementPage.js
webpack://javascript/esm|./node_modules/@hgbu/ode-pages/dist/esm/ODETriPanelPage/ODETriPanelPage.js

this goes on for many thousands of lines. as for files in my project (local src folder) i do not see those in the list searching through my terminal.

looking at the stats, orphan modules seem to comprise most of my app ->

orphan modules 11.7 MiB (javascript) 309 KiB (css/mini-extract) 2.86 MiB (asset) 49.5 KiB (runtime) [orphan] 1099 modules

@bmarti44
Copy link
Author

I'm going through plugins now and removing what I can, will see what effect this has...

@bmarti44
Copy link
Author

ugh oh no found the issue...

module.exports = merge(common, {
  mode: 'production',
  devtool: 'source-map',
  output: {
    filename: '[name].[fullhash].js',
    chunkFilename: '[name].[fullhash].js',
    path: path.resolve('./web'),
  },
  resolve: {
    alias: {
      'oj-c': '@oracle/oraclejet-core-pack/oj-c/min'
    }
  },
  plugins: [
    new webpack.optimize.ModuleConcatenationPlugin(),
  ],
});

if the mode is production, the ModuleConcatenationPlugin is already applied, which makes the extra ModuleConcatenationPlugin redundant and causing all sorts of chaos... closing this out, thank you so much for the help here!

@bmarti44 bmarti44 closed this Apr 29, 2023
@alexander-akait
Copy link
Member

Great, we found a problem, hope it will help other too 🎉

@bmarti44 bmarti44 deleted the fix-missing-modules branch May 30, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants