sveltejs / rollup-plugin-svelte

Compile Svelte components with Rollup
MIT License
505 stars 79 forks source link

Handle warnings is not working? #212

Closed socketopp closed 1 year ago

socketopp commented 1 year ago

How can we disable svelte warnings? (a11y, etc) Any fix regarding this?

Conduitry commented 1 year ago

I don't know what that language-tools issue has to do with this project, but if the question is specifically how you can stop rollup-plugin-svelte from emitting Rollup warnings during build time, you can already do this with the onwarn callback in the plugin in your Rollup config. https://github.com/sveltejs/rollup-plugin-svelte#usage