We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reskript v5.1.0
// reskript.config.ts build: { appTitle: 'Vercel', publicPath: '/vercel/assets/', },
编译后的 index.html 中
翻了下代码,vite 的资源路径是配置里的 base + build.assetsDir,build.assetsDir 默认是 assets,配置中的路径只覆盖了base导致
The text was updated successfully, but these errors were encountered:
这个问题在当前确实不好处理,事实上只拿到一个publicPath是无法知道哪部分是assets,哪部分是base的,只能猜(比如把最后一级目录去掉是base),但这也不靠谱……
publicPath
真要解决这个问题,得把publicPath配置的类型改掉,这会是个breaking,我再考虑下怎么办
Sorry, something went wrong.
assetsDir做成可配置的更好?
No branches or pull requests
reskript v5.1.0
编译后的 index.html 中
翻了下代码,vite 的资源路径是配置里的 base + build.assetsDir,build.assetsDir 默认是 assets,配置中的路径只覆盖了base导致
The text was updated successfully, but these errors were encountered: