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

Unicode support for filenames #3845

Closed
vilarfg opened this issue Nov 3, 2019 · 0 comments · Fixed by #3846
Closed

Unicode support for filenames #3845

vilarfg opened this issue Nov 3, 2019 · 0 comments · Fixed by #3846

Comments

@vilarfg
Copy link

vilarfg commented Nov 3, 2019

Describe the bug
Filenames with Unicode characters on them produce errors.

Stacktraces

ERROR in ./src/routes/简体中文/index.svelte
Module build failed (from ./node_modules/svelte-loader/index.js):
Error: Error: Error: Could not derive component name from file /{my-repo_name}/src/routes/简体中文/index.svelte

Information about your Svelte project:

  • Svelte 3.12.1, Webpack

To Reproduce
Simply name a file something like 中国.svelte and watch it fail 😭

Expected behavior
For this to work 😉 .

Severity
I REALLY need this! So I worked out a fix and a pull request is coming your way shortly 🎉

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 a pull request may close this issue.

1 participant