Just tried to update my svelte to latest and started getting compilation errors.
Looks like a regression introduced in version 1.13.7.
Works:
https://svelte.technology/repl?version=1.13.6&gist=b2df7e04cdacd4e8cf78e4678a69133a
Compilation error:
https://svelte.technology/repl?version=1.13.7&gist=b2df7e04cdacd4e8cf78e4678a69133a
Also, it would be nice if the error message was a little nicer. The output I see is:
[02:07:51] Error: Unexpected token (194:19)
at error (/Users/craig/Sites/project/node_modules/rollup/dist/rollup.js:170:12)
at /Users/craig/Sites/project/node_modules/rollup/dist/rollup.js:8937:6
at process._tickCallback (internal/process/next_tick.js:103:7)
So I had to start commenting out my code bit by bit to find what specifically it was breaking on. I am lucky it happened to be in the first file I commented out 😛
Just tried to update my svelte to latest and started getting compilation errors.
Looks like a regression introduced in version
1.13.7.Works:
https://svelte.technology/repl?version=1.13.6&gist=b2df7e04cdacd4e8cf78e4678a69133a
Compilation error:
https://svelte.technology/repl?version=1.13.7&gist=b2df7e04cdacd4e8cf78e4678a69133a
Also, it would be nice if the error message was a little nicer. The output I see is:
So I had to start commenting out my code bit by bit to find what specifically it was breaking on. I am lucky it happened to be in the first file I commented out 😛