Frontmatter
| id | 531 |
| title | Neo.main.onDomContentLoaded: ensure the dynamic imports run in parallel |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | May 3, 2020, 8:16 PM |
| updatedAt | May 3, 2020, 8:34 PM |
| githubUrl | https://github.com/neomjs/neo/issues/531 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 3, 2020, 8:34 PM |


if (Neo.config.useAmCharts) { await import(/* webpackChunkName: 'src/main/lib/AmCharts' */ './main/lib/AmCharts.mjs'); } if (Neo.config.useMapboxGL) { await import(/* webpackChunkName: 'src/main/lib/MapboxGL' */ './main/lib/MapboxGL.mjs'); }this needs to switch to a promiseAll => we do not want to wait for each import to be finished before starting the next one.
on it.