Frontmatter
| id | 7140 |
| title | Bundle `parse5` for Browser Compatibility |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 31, 2025, 9:55 AM |
| updatedAt | Jul 31, 2025, 10:01 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7140 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7130 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 31, 2025, 10:01 AM |
Description: To adhere to the framework's "zero builds" development principle, the
parse5library cannot be imported directly fromnode_modulesat runtime. A build step is required to convert it into a browser-compatible ES module. This bundled file will be checked into thedistdirectory and imported by theHtmlTemplateProcessor.Implementation Details:
esbuildnode_modules/parse5/dist/index.jsdist/parse5.mjsbuildScripts/bundleParse5.mjsand an associated npm scriptbundle-parse5to perform the bundling and minification.HtmlTemplateProcessorwill be updated to import../../../dist/parse5.mjs.