Skip to content

Commit

Permalink
feat(): SSR document
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenVelocity committed Nov 3, 2021
1 parent c336f6a commit 72c225a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { DocumentSSR } from 'nano-jsx/lib/ssr'
import { AureolinApplication } from './AureolinApplication'
import { loadConfig } from './config'

// eslint-disable-next-line @typescript-eslint/no-explicit-any
;(globalThis as any).document = new DocumentSSR()

/**
* create a new Aureolin application
* @returns {AureolinApplication} the application
Expand Down

0 comments on commit 72c225a

Please sign in to comment.