Known issue: onwarn
code in svelte.config.js
does not appear to work with Svelte v4.2.0.
Steps to reproduce:
- Install Svelte for VS Code extension
- There should be no warnings.
- Update
package.json
:"svelte": "^4.2.0",
- In terminal:
npm install
- In VS Code: Ctrl + Shift + P -> "Svelte: Restart Language Server"
- ISSUE: You should see a11y warning.