-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k

Description
FF: Mozilla Firefox 50.0
Svelte: svelte-cli version 1.0.2
Command: svelte compile --format iife HelloWorld.html > HelloWorld.js
Background
After seeing your project on Hacker News, I decided to give it a shot. I use Firefox on Arch Linux, and I was surprised when the "Hello world" demo didn't work. To test it wasn't just my system, I tried it on chromium, and it worked fine there. Are you not supporting Firefox? (it is definitely a "legacy" browser)
Error
The problem is in the generated HelloWorld.js
. It is located in var HelloWorld
-> function HelloWorld
-> function dispatchObservers
-> for ( const key in group )
. The error message reads SyntaxError: missing = in const declaration
.
I hope this is just some obvious issue on my half, and not a lack of Firefox support...