vue3-core/packages/compiler-dom/__tests__
Fernando Fernández 42f4ccceda
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 <noreply@github.com>
2024-06-20 19:23:39 +00:00
..
__snapshots__ chore(deps): bump vitest to 1.0 2023-12-05 10:48:04 +08:00
transforms feat(compiler-core): add allowSideEffectTag option 2024-06-20 19:23:39 +00:00
decoderHtmlBrowser.spec.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
index.spec.ts fix(compiler-dom): properly stringify class/style bindings when hoisting static strings 2020-02-21 13:10:13 +01:00
parse.spec.ts fix(parser): should not treat uppercase components as special tags 2024-02-25 23:05:15 +08:00