New issue
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
Regression: Square brackets in filename #17
Comments
Can you provide a repro? |
@frandiox since 0.4.6, you need add example: // https://github.com/hannoeru/vite-plugin-pages
Pages({
extensions: ['vue', 'md'],
replaceSquareBrackets: false
}), |
@tshemeng Ah I see, thanks! |
I think replace square brackets break dynamic routes so I will revert it now until I find a solution, you can upgrade to v0.4.8 and remove replaceSquareBrackets from options. |
Hi! I'm having an error related to #16 using
0.4.7
. I'm trying to deploy to Cloudflare Workers and it works in0.4.6
(it seems CF workers allow brackets in the filenames), so I guess this is a regression issue.I have a route
/hi/:name
(like in Vitesse) and the build outputs a filedist/client/assets/_name_.0441a72a.js
for that one. There's no file with brackets. However, another JS file is trying to import the following:It is trying to request both, brackets and underscored versions:
I'll downgrade to 0.4.6 for now, which outputs the file with brackets only.
Thanks!
The text was updated successfully, but these errors were encountered: