ℹ️ ESM-only from v27.0.0 (CJS generation format also dropped). In order to allow Rollup tree-shake your client code at build time, you need to wrap your code using import.meta.env.SSR, that's, ...