Skip to content

Commit 17b28ca

Browse files
committed
Add preview chunk name
1 parent 2d4f368 commit 17b28ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ReactPlayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { omit } from './utils'
88
import players from './players'
99
import Player from './Player'
1010

11-
const Preview = lazy(() => import('./Preview'))
11+
const Preview = lazy(() => import(/* webpackChunkName: 'reactPlayerPreview' */'./Preview'))
1212

1313
const IS_BROWSER = typeof window !== 'undefined' && window.document
1414
const SUPPORTED_PROPS = Object.keys(propTypes)

0 commit comments

Comments
 (0)