Skip to content
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

feat(compiler-core): add allowSideEffectTag option for disabling ignoreSideEffectTags transform #11184

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ferferga
Copy link
Contributor

By default, the compiler drops <script> and <style> tags from SFC files. There are good use cases for these tags (like generating stylesheets based on some refs or application state).

I see no documented reason to not allow a bypass if the user knows what's doing, so that's why I'm adding this new option

By default, the compiler drops `<script>` and `<style>` tags from SFC files. There are good use cases for these tags (like generating stylesheets based on some refs or application state).

I see no documented reason to not allow a bypass if the user knows what's doing, so that's why I'm adding this new option

Signed-off-by: GitHub <[email protected]>
@ferferga ferferga changed the title feat(compiler-core): add allowSideEffectTag option feat(compiler-core): add allowSideEffectTag option for disabling ignoreSideEffectTags transform Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants