LearnNewsExamplesServices
Frontmatter
id6727
titlebuildScripts/buildThemes: mode all => combine dist/esm & dist/prod
stateClosed
labels
enhancement
assigneestobiu
createdAtMay 29, 2025, 11:50 AM
updatedAtJun 1, 2025, 11:05 AM
githubUrlhttps://github.com/neomjs/neo/issues/6727
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 1, 2025, 11:05 AM

buildScripts/buildThemes: mode all => combine dist/esm & dist/prod

Closed v9.6.0 enhancement
tobiu
tobiu commented on May 29, 2025, 11:50 AM
  • While dist/dev has a different output (not minified, source maps), the other dist modes have the same content.
  • When building all, we should just copy the CSS folder & theme-map, instead of rebuilding it.
tobiu assigned to @tobiu on May 29, 2025, 11:50 AM
tobiu added the enhancement label on May 29, 2025, 11:50 AM
tobiu referenced in commit ca2d209 - "buildScripts/buildThemes: mode all => combine dist/esm & dist/prod #6727" on Jun 1, 2025, 11:03 AM
tobiu
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