Zum Inhalt springen
Kitbay
Einreichen

javascript-refactoring

MITAktualisiert am 11. Nov. 20265.616GitHub-Sterne

A gh-aw maintainer guide for splitting large JavaScript files into CommonJS modules.

Was der Skill vermittelt

A gh-aw maintainer guide for splitting large JavaScript files into CommonJS modules. It explains the current layout, with shared modules under the workflow and setup action folders and generated bundles built by the action build pipeline, and warns against older embedding patterns. It shows the pattern for top-level scripts and how to move code into modules without breaking the build.

Funktionen

  • Split a large JavaScript file into CommonJS modules
  • Place modules where the action build expects them
  • Avoid outdated embedding patterns