Want to server generated js/chunks/css file from CDN #7254
Unanswered
pandey-adarsh147
asked this question in
Q&A
Replies: 1 comment
-
|
See https://kit.svelte.dev/docs/configuration#paths
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
paths: {
assets: "https://cdn.example.com"
}
}
}; |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Node adapter, I can see client/_app directory is generated from npm run build. I want to serve these file from CDN. Not able to find way to modify URL in html file or js file.
Can anyone help here?
Beta Was this translation helpful? Give feedback.
All reactions