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

Alias documentation #7732

Closed
Randagio13 opened this issue Nov 20, 2022 · 3 comments
Closed

Alias documentation #7732

Randagio13 opened this issue Nov 20, 2022 · 3 comments

Comments

@Randagio13
Copy link

Describe the bug

Coming from the kit docs, I thought I could use svelte.config.ts as the configuration. If I do, that alias doesn't work.

Let's add an annotation for that to avoid any misunderstanding.

Reproduction

Changing svelte.config.js to svelte.config.ts with an alias configuration

Logs

No response

System Info

System:
    OS: macOS 13.0.1
    CPU: (8) arm64 Apple M1
    Memory: 163.19 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.1.0 - /opt/homebrew/bin/node
    Yarn: 1.22.18 - /opt/homebrew/bin/yarn
    npm: 8.19.3 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 107.0.5304.110
    Edge: 107.0.1418.52
    Safari: 16.1
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.88 
    @sveltejs/kit: next => 1.0.0-next.551 
    svelte: ^3.53.1 => 3.53.1 
    vite: ^3.2.4 => 3.2.4

Severity

annoyance

Additional Information

No response

@Conduitry
Copy link
Member

I don't think there's anything particularly about aliases that's relevant here. There's #2576 for supporting svelte.config.ts. There shouldn't be anything in the docs that points towards this already being supported.

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2022
@Randagio13
Copy link
Author

Thanks @Conduitry

@MentalGear
Copy link

Also ran into this and took a lot of debugging to find out it was the culprit since errors were only displaying that the <style> tag in .svelte files were not correct.

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

No branches or pull requests

3 participants