Skip to content

Build code from strings more often #557

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

Open
benmccann opened this issue May 4, 2025 · 0 comments
Open

Build code from strings more often #557

benmccann opened this issue May 4, 2025 · 0 comments
Labels
enhancement New feature or request pkg:add sv add

Comments

@benmccann
Copy link
Member

Just as is being done in #556, I think we could simplify a lot of the addon code and make it more readable by building the expression from a string or potentially just returning a string directly instead of building an AST.

eslint.config.js, paraglide/+page.svelte, and the Vite config modification in the vitest addon are a few that looked like they could really be simplified - though I wouldn't be surprised if there were others as well.

@manuel3108 manuel3108 added enhancement New feature or request pkg:add sv add labels May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pkg:add sv add
Projects
None yet
Development

No branches or pull requests

2 participants