wewowweb / laravel-mix-svelte

mix.svelte();
MIT License
68 stars 10 forks source link

Allow Svelte loader options #4

Closed robindrost closed 4 years ago

robindrost commented 4 years ago

Allow the implementation to set options for the Svelte loader. This is very useful to enable dev mode for example.

morpheus7CS commented 4 years ago

Looks good to me! 👍I plan on merging this in tomorrow.

P.S. If you have any ideas as to how we could support various CSS preprocessors in a best practice kind of way, I'd be happy to explore that option with you as well.

robindrost commented 4 years ago

Thanks for the review!

I think preprocsessing is possible now with the options available. See the webpack (svelte loader) example from this package:

https://github.com/kaisermann/svelte-preprocess

morpheus7CS commented 4 years ago

Thanks for the review!

I think preprocsessing is possible now with the options available. See the webpack (svelte loader) example from this package:

https://github.com/kaisermann/svelte-preprocess

Hey @robindrost,

I'll look into this. Thanks for the link.

Kind regards, g