Closed bgins closed 1 year ago
Let's hold off on making these changes until we've merged in https://github.com/webnative-examples/webnative-app-template/pull/89.
We've rolled back this upgrade but should revisit it. We uncovered a couple of issues at page load.
In Safari:
SyntaxError: Invalid character '\u20ac'
parseModule
(anonymous function)
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
promiseReactionJob
In Chrome:
We suspect Vite 4 is having issues processing special characters.
Turned out the first error was due to a missing meta utf-8
tag. The tag was not compiled in statically by SvelteKit. Fixed by adding the tag directly to app.html
.
The second error is unrelated. Tracking that one here: https://github.com/fission-codes/webnative/issues/459
Summary
Problem
SvelteKit has released a 1.0.0, and we aren't using it.
Impact
No immediate impact, but moving to stable brings us forward past breaking changes.
Solution
Upgrade to latest SvelteKit stable release.