UNPKG

svelte-ux

Version:

- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`

5 lines (4 loc) 253 B
// Since it's not recommended to use `$app/environment` or `import.meta.env.SSR`, expose these instead // See: https://kit.svelte.dev/docs/packaging export const browser = typeof window !== 'undefined'; export const ssr = typeof window === 'undefined';