We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a547b41 + a5e11fb commit 7ddd7baCopy full SHA for 7ddd7ba
src/web/runtime.ts
@@ -4,9 +4,11 @@ import type { UnistylesMiniRuntime } from '../specs/UnistylesRuntime'
4
import { WebContentSizeCategory } from '../types'
5
import { UnistylesListener } from './listener'
6
import { NavigationBar, StatusBar } from './mock'
7
-import { UnistylesState } from './state'
8
import { error, isServer, schemeToTheme } from './utils'
9
+// Keep this import here, otherwise circular dependency will occur and break the build
10
+import { UnistylesState } from './state'
11
+
12
class UnistylesRuntimeBuilder {
13
lightMedia = this.getLightMedia()
14
darkMedia = this.getDarkMedia()
0 commit comments