Skip to content

Commit 74b4cb9

Browse files
committed
Import polyfill with imports and not require
1 parent befdec2 commit 74b4cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import globals from './globals'
1818
import * as graphTypes from './graph-types'
1919
import * as $eval from './helpers/eval'
2020

21-
require('./polyfills')
21+
import './polyfills'
2222

2323
const d3Scale: {
2424
linear: () => ScaleLinear<number, number>,

0 commit comments

Comments
 (0)