JakobJingleheimer / nodejs-loaders

A collection of loaders to facilitate a quick and easy local development and CI testing environment.
11 stars 3 forks source link

feat(loader): add svelte #33

Open AugustinMauroy opened 2 weeks ago

AugustinMauroy commented 2 weeks ago

The main purpose of creating a svelte loader is to enable unit testing of svelte components with node test-runner.

I propose to use svelte/compiler so that mean the loader will handle a specific version of svelte. Also my issue is do we need to use compile or compileModule ? Compiler doc