Replies: 1 comment 2 replies
-
I'm not entirely sure what you mean by this? The assetPrefix option allows you to change the location: https://nextjs.org/docs/api-reference/next.config.js/cdn-support-with-asset-prefix |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi there, I know next.js is using absolute path after build (or export).
Although I know we can config the prefix with the next config file, is it possible to do without using absolute path, so that they request the js or css within the same folder?
It is because, sometimes we just build a site that is deployed to a big site under one of the sub-path, and the files are bounded within the folder so we can't upload the _next folder outside it.
Just wondering if it supports disabling using absolute path build in future. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions