when building Sveltekit in VSCode, Building interface with npm generates lots of warnings and DragDropList error. It doesn't seem to invalidate the generated result but it complicates validation checks on build and might cause (hidden) problems in the future.
Examples:
Warnings
<div> with a click handler must have an ARIA role
<svg> with a click handler must have an ARIA role
firmwareVersion is updated, but is not declared with $state(...)
- DragDropList.svelte" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
Error
- DragDropList.svelte (568:2): Error when using sourcemap for reporting an error: Can't resolve original location of error.
Following the advice in the warning will solve the warning.
Complete log follows.
💡🆕 Follow ESP32-Sveltekit on Discord