svelte-preprocess icon indicating copy to clipboard operation
svelte-preprocess copied to clipboard

[auto preprocess] Don't try to preprocess unknown language

Open kaisermann opened this issue 3 years ago • 1 comments

Originally posted by @kaisermann in https://github.com/sveltejs/svelte-preprocess/issues/305#issuecomment-772765516

In auto preprocess mode, we currently error out if the lib encounters an unknown language/transformer. We could just skip instead and let another preprocessor handle it. This seems to be another reason to rewrite the auto preprocess module (as mentioned in #311).

kaisermann avatar Feb 10 '21 13:02 kaisermann

Addressing this would also simplify partytown setup: https://partytown.builder.io/sveltekit#4-optional-svelte-preprocess-configuration

benmccann avatar Dec 16 '23 17:12 benmccann