Skip to content

Commit

Permalink
experiment: polyfill as IIFE in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Sep 1, 2023
1 parent 120bae9 commit 3979635
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 194 deletions.
4 changes: 3 additions & 1 deletion packages/fiber/src/native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ export * from './native/Canvas'
export { createTouchEvents as events } from './native/events'
export type { GlobalRenderCallback, GlobalEffectType } from './core/loop'
export * from './core'
import './native/polyfills'

import { polyfills } from './native/polyfills'
polyfills()
Loading

0 comments on commit 3979635

Please sign in to comment.