tweenjs / es6-tween

ES6 version of tween.js
MIT License
186 stars 34 forks source link

fix(dist): webpack now includes correct version #23

Closed jaymoretti closed 7 years ago

jaymoretti commented 7 years ago

The module property was causing webpack to include the raw es6 version and crashing iOS Safari, removing it forces webpack to include the transpiled version from dist.

dalisoft commented 7 years ago

@jrmoretti Thanks for PR. I am very happy to merge. Thanks again. Is this now support import TWEEN from 'es6-tween' too?

jaymoretti commented 7 years ago

@dalisoft nope. I've been using it as import {autoPlay, Easing, Tween} from 'es6-tween'; But I can make another PR to let you import everything as TWEEN

dalisoft commented 7 years ago

I can do it like this import * as TWEEN from 'es6-tween, but you can confirm with update works import?