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

Commits on Jun 20, 2024

  1. feat(compiler-core): add allowSideEffectTag 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 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    42f4ccc View commit details
    Browse the repository at this point in the history