Skip to content

Commit

Permalink
chore(gestures): fix treeshaking for core (#2447)
Browse files Browse the repository at this point in the history
Closes #2401
  • Loading branch information
devversion authored and kara committed Jan 4, 2017
1 parent eb96b0c commit ec21ae1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/core/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export {ScrollDispatcher} from './overlay/scroll/scroll-dispatcher';

// Gestures
export {GestureConfig} from './gestures/gesture-config';
export * from './gestures/gesture-annotations';
// Explicitly specify the interfaces which should be re-exported, because if everything
// is re-exported, module bundlers may run into issues with treeshaking.
export {HammerInput, HammerManager} from './gestures/gesture-annotations';

// Ripple
export {MdRipple, MdRippleModule} from './ripple/ripple';
Expand Down Expand Up @@ -105,7 +107,7 @@ export * from './compatibility/default-mode';
// Animation
export * from './animation/animation';

// Coersion
// Coercion
export {coerceBooleanProperty} from './coercion/boolean-property';
export {coerceNumberProperty} from './coercion/number-property';

Expand Down

0 comments on commit ec21ae1

Please sign in to comment.