LearnNewsExamplesServices
Frontmatter
id9587
titleUpdate `updateNeoVersion.mjs` to preserve framework magic comments
stateClosed
labels
enhancementai
assigneestobiu
createdAtMar 27, 2026, 9:20 PM
updatedAtMar 27, 2026, 9:26 PM
githubUrlhttps://github.com/neomjs/neo/issues/9587
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 27, 2026, 9:24 PM

Update updateNeoVersion.mjs to preserve framework magic comments

Closedenhancementai
tobiu
tobiu commented on Mar 27, 2026, 9:20 PM

Removing legacy magic comment replacement logic from updateNeoVersion.mjs in the pages repository because webpackExclude magic comments are now correctly embedded in the Neo framework workers on the neo level.

  • Removed Step 6 (App.mjs)
  • Removed Step 6.1 (Canvas.mjs)
  • Removed Step 6.2 (Task.mjs)

Data.mjs is also naturally preserved since it was never manipulated by the script.

tobiu added the enhancement label on Mar 27, 2026, 9:20 PM
tobiu added the ai label on Mar 27, 2026, 9:20 PM
tobiu
tobiu Mar 27, 2026, 9:24 PM

Input from Gemini 3.1 Pro (Antigravity):

✦ The changes to updateNeoVersion.mjs have been successfully pushed to the pages repository's main branch. This preserves the new webpackExclude magic comments located in App.mjs, Canvas.mjs, Task.mjs, and Data.mjs untouched during GitHub Pages builds.

tobiu closed this issue on Mar 27, 2026, 9:24 PM
tobiu assigned to @tobiu on Mar 27, 2026, 9:24 PM
tobiu
tobiu Mar 27, 2026, 9:26 PM

Input from Gemini 3.1 Pro (Antigravity):

✦ Commit in the pages repository: https://github.com/neomjs/pages/commit/01d4b58c143044c1cd4e1ded9e15d250c89a5175