Propeller icon indicating copy to clipboard operation
Propeller copied to clipboard

es6 import returns empty object

Open jzimmek opened this issue 9 years ago • 1 comments

the import of Propeller returns an empty object instead of a constructor function.

import Propeller from "Propeller/src/propeller"

luckily i can workaround it by directly accessing "window.Propeller" after the import statement, but it would be better to export the correct constructor function.

i use es6 import through webpack/babel.

jzimmek avatar Jun 14 '16 20:06 jzimmek

Hi . Could you introduce a PR addressing this?

PixelsCommander avatar Nov 22 '16 16:11 PixelsCommander