Frontmatter
| id | 6727 |
| title | buildScripts/buildThemes: mode all => combine dist/esm & dist/prod |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | May 29, 2025, 11:50 AM |
| updatedAt | Jun 1, 2025, 11:05 AM |
| githubUrl | https://github.com/neomjs/neo/issues/6727 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 1, 2025, 11:05 AM |
buildScripts/buildThemes: mode all => combine dist/esm & dist/prod
tobiu assigned to @tobiu on May 29, 2025, 11:50 AM

tobiu
Jun 1, 2025, 11:05 AM
A lot more complex than I thought. buildEnv() had to get converted to being async, to ensure that all files creations are done before copying files.
CSSNano can not get executed in a sync way.
tobiu closed this issue on Jun 1, 2025, 11:05 AM
dist/devhas a different output (not minified, source maps), the other dist modes have the same content.