[Sveltekit2] how to publicdir false? #12885
Unanswered
Neptunium1129
asked this question in
Q&A
Replies: 1 comment
-
You can join the discord server to seek help with your configuration migration https://svelte.dev/chat . You should only use post in issues if it's an issue with the framework or documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
in svelte3 (not use sveltekit)
in Sveltekit2 use files assets available only String not use false (boolean)
My intention is to exclude the 70MB editor files within the public directory from the build during npm run build. These files will be served through the Nginx static URL.
Reproduction
my project static path is
in public dirtory
in svelte3 (not use sveltekit)
--> npm run build -> dist -> 7MB
in Sveltekit2
in sveltekit2 -> .svelite_kit size 70MB
**The following Vite config options will be overridden by SvelteKit:
if change assets and npm run build
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions