@codecademy/gamut
73.6.273.6.3-alpha.2b3b95.0
dist/index.js~
dist/index.jsModified+7−1
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -50,5 +50,11 @@
export * from './Tip/shared/types';
export * from './typings/responsive-properties';
export * from './Typography/Text';
export * from './utils';
-export * from './Video';
\ No newline at end of file
+/*
+ Video is intentionally not re-exported here: it pulls in react-player,
+ whose dependency tree relies on package.json "exports" subpaths that
+ legacy bundlers (e.g. webpack 4) can't resolve. Keeping it off the main
+ barrel means consumers who don't use Video never need to resolve that
+ tree. Import it from '@codecademy/gamut/Video' instead.
+*/
\ No newline at end of file