can't remember) because they declare variables and not just functions which use the global window or navigator objects to resolve their value. If you import something from the package root, all modules will be in scope / evaluated for some reason and if you import from a sub-module directly...
next\server\webpack-runtime.js:33:42) at async eval (webpack-internal:///(ssr)/./lib/os.ts:10:16) ReferenceError: navigator is not defined at isWindows (webpack-internal:///(ssr)/./node_modules/@tauri-apps/api/helpers/os-check.js:10:5) at eval (webpack-internal:///(ssr)/....