question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`appDir` config option creates both `_app` and custom dir

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
lvalcommented, Apr 7, 2021

I also had this problem. I solved this by removing everything inside the build and .svelte directories.

0reactions
ecstremacommented, Aug 22, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found