Skip to content

Commit 29f12c5

Browse files
style(Output): Normalize compiled artifacts with helpers-first shim ordering and 2-space indent
Re-align all compiled artifacts under Configuration/ and Source/ to a consistent esbuild output format across 100+ files in Apply, ESBuild, Plugin, Polyfill, Service, and Transform directories. Three structural changes: 1. Hoist `__defProp`/`__name` helper shim declarations above all static import statements, reverting the imports-first ordering applied in 4f56ea0. The helpers-first preamble avoids a forward-reference hazard when the shim variables are referenced at module-eval time inside collapsed arrow functions. 2. Convert indentation from tabs to 2-space, aligning compiled output with the Source/ TypeScript originals that the transform plugins pattern-match against. Tabs produced narrower diffs against upstream VS Code but broke visual alignment for regex-based pattern replacement in the transform pipeline (Replace, Rewrite, Inject, Strip, Patch, Instrument). 3. Normalise expression formatting: collapse multi-line arrow function bodies and object property values to single-line where line length permits, strip trailing commas from final array/object entries, consolidate empty function bodies, and format export blocks with one binding per line. Remove redundant wrapping parens around spread-ternary expressions in pipeline arrays. No runtime behaviour changes; the copy plugins, polyfill shims (Process, FileSystem, IPC, NativeModule, ChildProcess, SharedProcess), service stubs (TauriMainProcessService, CELExposeAccessor, NullTelemetry, NullUpdate, NullExtensionGallery, CELSearchService, CELSharedProcessService), transform pipelines, and Rest compiler plugin are semantically identical before and after.
1 parent 4f56ea0 commit 29f12c5

115 files changed

Lines changed: 9843 additions & 10388 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Configuration/Apply/Pipeline.js

Lines changed: 114 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)