wewowweb / laravel-mix-svelte

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

Update dev compiler option... #19

Closed skoontastic closed 2 years ago

skoontastic commented 2 years ago

I just installed this and couldn't get dev mode on in order to use the Svelte extension in Chrome. I was using the {dev: true} option, but it wouldn't go. Once I changed it to

compilerOptions: {
    dev: true,
},

per the svelte-loader docs, it worked. Maybe I'm missing something, but I thought I'd just share this here.

nrthbound commented 2 years ago

Has this been fixed internally or has this PR just been overlooked? @morpheus7CS Seems pretty critical if it pertains to getting the (rather lacking) Svelte devtools to load properly.

SjoerdMouissie commented 2 years ago

Thanks so much for this info! I was getting a lot of errors after compiling ('options' was undefined). This solution solved this.

morpheus7CS commented 2 years ago

Dear @skoontastic,

I have no idea how this got completely past me 😓.

Thanks a lot for solving this issue for us and providing a solution.

Kind regards, g