Open AndreiSoroka opened 4 months ago
During documentation and code, you can't change server folder
Make a solution to provide configuration
For example, I want to change the folder to
my-project/ ├ src/ │ ├ lib/ │ │ └ [your lib files] │ │ └ server/ │ │ └ [your server-only lib files]
Like each lib can have server folder
No response
would make my life easier
I use FSD methodology with SvelteKit, and want to make ./sever folder as a segment
./sever
segment
At the moment Svelte is not friendly to FSD
FSD: https://feature-sliced.design/docs/get-started/overview
Workaround from discord:
https://kit.svelte.dev/docs/server-only-modules#your-modules
use .server.ts extension
.server.ts
Describe the problem
During documentation and code, you can't change server folder
Describe the proposed solution
Make a solution to provide configuration
For example, I want to change the folder to
Like each lib can have server folder
Alternatives considered
No response
Importance
would make my life easier
Additional Information
I use FSD methodology with SvelteKit, and want to make
./sever
folder as asegment
At the moment Svelte is not friendly to FSD
FSD: https://feature-sliced.design/docs/get-started/overview