Using smask in a sveltekit app generates a exception when page is rendered on server side because of lack of navigator variable on this environment.
I'd suggest to run a undefined check before using navigator. Therefore, it would be a good option to deliver a method to setLocale manually to the lib.
Using smask in a sveltekit app generates a exception when page is rendered on server side because of lack of navigator variable on this environment.
I'd suggest to run a undefined check before using navigator. Therefore, it would be a good option to deliver a method to setLocale manually to the lib.