Frontmatter
| id | 264 |
| title | Remove buildScripts/webpack/entrypoints/App.mjs |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Mar 12, 2020, 12:27 PM |
| updatedAt | Mar 12, 2020, 12:39 PM |
| githubUrl | https://github.com/neomjs/neo/issues/264 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 12, 2020, 12:39 PM |

The only reason this override-file exists was Firefox parsing dynamic imports at build-time instead of run time.
if (!Neo.config.isExperimental) { Neo.onStart(); if (Neo.config.hash) { HashHistory.push(Neo.config.hash, Neo.config.hashString); } } else { // todo: in case FF still does not support dynamic imports, remove the dynamic import call for FF dev builds import( /* webpackIgnore: true */ '../../' + me.data.path).then((module) => { Neo.onStart(); if (Neo.config.hash) { HashHistory.push(Neo.config.hash, Neo.config.hashString); } } ); }=> this import() broke the dist versions, although the code was not reachable.
Luckily, this is no longer the case, so we can remove the file now and adjust the entrypoints.