Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert workaround vite glob import #61

Merged
merged 1 commit into from Aug 30, 2023
Merged

Conversation

indykoning
Copy link
Member

vitejs/vite#13374
has since been fixed in
vitejs/vite#13646

Thus the workaround is no longer needed.

@@ -10,7 +10,7 @@
.split('/').pop() // Remove directories
.split('.').shift() // Remove extension
.replace(/^.|[A-Z]/g, letter => `-${letter.toLowerCase()}`) // PascalCase to snake_case
.substr(1) // Remove the starting dash
.substring(1) // Remove the starting dash
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@royduin royduin merged commit c62cabc into master Aug 30, 2023
@royduin royduin deleted the feature/revert-glob-import branch August 30, 2023 10:37
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.

None yet

2 participants