-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
appDir
config option creates both _app
and custom dir
#861
Comments
I also had this problem. I solved this by removing everything inside the build and .svelte directories. |
Thanks @lval I was starting to struggle with this one too |
Deleting the svelte directory worked for me too. |
This can be configured and are now documented by #2135 |
Yes it doesn't, but your PR now documents the problem and what users are supposed to do, which is what this issue was about, isn't it? There's also #2260 that would clear out the build directory for |
Most people that renamed their appDir folder will not read the docs from my PR, since they are specifically for GitHub Pages. #2260 would indeed probably fix it, but ideally, a complete rebuild should not be needed. |
Describe the bug
If I change the
appDir
config toapp
instead of the default_app
(Golang doesn't serve directories starting with_
) the build dir contains bothapp
and_app
!Before you ask: I deleted the
build
dir before build.Expected behavior
To only have my
app
dir.Information about your SvelteKit Installation:
Diagnostics
System:
OS: Windows 10 10.0.19042
Binaries:
Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
npm: 7.8.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@sveltejs/kit: 1.0.0-next.70 => 1.0.0-next.70
svelte: 3.37.0 => 3.37.0
vite: 2.1.5 => 2.1.5
1.0.0-next.4
The text was updated successfully, but these errors were encountered: