I have latest YASnippet package installed on GNU Emacs 27.2 via MELPA. Snippets work, for example in *.js files, let expands to snippet after hitting TAB. However, when I edit HTML file (in html-mode), the JS inside <script> tag does not use YAS. Also, CSS snippets don't work in <style>.
I tried web-mode, but it fixes only JS.
Are there other solutions?