Skip to content

Conversation

@anpato
Copy link

@anpato anpato commented Feb 6, 2026

Description

Fixes an issue where aliased imports/exports caused: Identifier 'loader' has already been declared errors. This appears to be specific for those of us still on Vite version 6.

For example import { myLoader as loader } would trigger the syntax error.

Fixes # (issue 167)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Linked package to local repo to verify the changes are effective in resolving the issue.

  • Unit tests
  • pnpm link to local package

Checklist:

  • My code follows the guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@anpato anpato marked this pull request as ready for review February 6, 2026 03:49
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.

2 participants