Skip to content

[WIP] impr: Block scope names#2098

Closed
cieplypolar wants to merge 0 commit intomainfrom
impr/block-scope-names
Closed

[WIP] impr: Block scope names#2098
cieplypolar wants to merge 0 commit intomainfrom
impr/block-scope-names

Conversation

@cieplypolar
Copy link
Copy Markdown
Collaborator

Related to #2071.

Changes:

  • introduces block scope names
  • changes logic of nameRegistry
    • replaces function scope with block scope
    • [WIP] makeUnique checks all of the block scopes
  • to avoid renaming shadowed variables by bundler (esbuild), migrates to vite 8 (rolldown)
  • adds/modifies appropriate tests

TODO:

  • refactor nameClashes.test.ts
  • makeUnique checks all of the block scopes
  • fix peer dependencies versions (probably bump to the latest)
  • get rid of warnings that esbuild specific methods are deprecated in astro

@cieplypolar cieplypolar force-pushed the impr/block-scope-names branch from 95c29ff to d5d9189 Compare January 25, 2026 17:12
@cieplypolar cieplypolar deleted the impr/block-scope-names branch February 24, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant