svelte icon indicating copy to clipboard operation
svelte copied to clipboard

[fix] Support exclusively special characters in component filenames

Open danedavid opened this issue 3 years ago • 2 comments

Fixes #7143.

This PR supports special characters like @, &, ~ by not removing the leading/trailing _ in a filename if it's the only character in the function get_name_from_filename.

danedavid avatar Jul 07 '22 11:07 danedavid

It seems potentially problematic that we could have two files end up with the same component names?

benmccann avatar Jul 28 '22 22:07 benmccann

@benmccann Should we add some kind of increasing number sequence in such cases?

danedavid avatar Aug 23 '22 11:08 danedavid

@baseballyama is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 25 '23 05:02 vercel[bot]