`appDir` config option creates both `_app` and custom dir
See original GitHub issueDescribe the bug
If I change the appDir
config to app
instead of the default _app
(Golang doesn’t serve directories starting with _
) the build dir contains both app
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
- Your adapter: static
1.0.0-next.4
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
How to make AppDir files available to an AppImage application?
I have a assets directory that I have setup as a install_subdir in my meson.build file, then I run meson build -Dprefix=/usr ,...
Read more >Access app-specific files - Android Developers
One directory is designed for your app's persistent files, and another contains your app's cached files. Your app doesn't require any system permissions...
Read more >Advanced Features: Custom `App` - Next.js
This new directory has support for layouts, nested routes, and uses Server Components by default. Inside app/ , you can fetch data for...
Read more >Common Configuration - electron-builder
asarUnpack Array<String> | String | “undefined” - A glob patterns relative to the app directory, which specifies which files to unpack when creating...
Read more >How to override templates - Django documentation
The TEMPLATES setting and BASE_DIR will already exist if you created your project ... To override the templates for the blog app, create...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also had this problem. I solved this by removing everything inside the build and .svelte directories.
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.