-
Notifications
You must be signed in to change notification settings - Fork 51
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
add omitNestedClosingTags #121
Conversation
Doesn't this belong under the vite-plugin-solid/src/index.ts Lines 193 to 199 in 4795746
vite-plugin-solid/src/index.ts Line 384 in 4795746
|
made a new one here: |
plugins: [solid({
solid: {
omitNestedClosingTags: false
}
})] |
@edivados , can you make a PR to fix it for the non-start use case? |
I can but I don't think there was anything wrong with your PR here. Start's Option type just points to here anyway: |
Commenting here because I don't want to pollute your new PR with more comments. If left like is, the value has to be taken and added to solidOptions so it's in presets. vite-plugin-solid/src/index.ts Line 404 in 4795746
But if its defined under the Regarding the type hint, the moment it's added here it should show up in solid-start too as start extends this type here. |
I've moved it to options.solid now. Do you think that'll work? |
It should I tested it within a solid-start project but you never know... I am intereseted to see what the maintainers input is on this. |
Added here https://github.com/solidjs/solid/blob/main/CHANGELOG.md#smaller-templates
This change allow type hints to show up when configuring the vite plugin.