sveltejs / svelte-loader

Webpack loader for svelte components.
MIT License
594 stars 73 forks source link

Doesn't catch ts errors and builds #211

Closed pociej closed 1 year ago

pociej commented 1 year ago

In my svelte component I use typescript. If component is bug free everything is ok, but it also builds properly when there is typescript error ( VSC properly highlights errors but webpack seems to ignore them and builds). This touches only the .svelte files. .ts files are properly handled so I guess fault is somewhere in this loader.

dummdidumm commented 1 year ago

The loader is not concerned with type-checking. Use svelte-check for this.